Commit graph

4 commits

Author SHA1 Message Date
jez_higgins
8875207274 Fix for incorrect hasAttributeURI
from Mark D Anderson, mda@discerning.net
with input of:

<stuff:Blah name="test" xmlns:stuff="http://stuff.org/"/>

the Attr object for name returns true for hasNamespaceURI(),
yet the value of getNamespaceURI() is the empty string.
This is inconsistent; an empty namespace is illegal.

For now I'm working around this by putting
   (!n.hasNamespaceURI() || n.getNamespaceURI().empty())
into my code.
2004-09-04 11:44:26 +00:00
jez_higgins
182cc06058 Portability fixes 2003-10-08 14:22:20 +00:00
complement
947d34c950 fix SAX2DOM examples 2002-11-23 19:50:14 +00:00
jez_higgins
a88c55b602 added some tests for SAX2DOM 2002-09-03 13:26:08 +00:00