[gdome]Element::getAttribute bug



Hi,

Element::getAttribute and Element::getAttributeNS differ from the DOM
specification.

The spec says:

  Return Value
     DOMString    The Attr [p.51] value as a string, or the empty string
     [p.17]       if that attribute does not have a specified or default
                  value.

In Gdome2, these methods return NULL rather than the empty string.

Bye, Tobias






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]