SAX2: Namespace Processing and NSUtils helper class

Tim Bray tbray at textuality.com
Wed Jan 5 18:56:24 GMT 2000


At 10:32 AM 1/5/00 -0800, David Brownell wrote:
>Namespace URIs clearly have three kinds of values, not that
>it's specified in the namespace spec very clearly (and I suspect DOM L2
>may need tweaking to get this right):
>
>	- Undeclared (null?)
>	- Declared as no-value (empty string, "")
>	- Some URI (the case folk focus on).

No.  The second case is explicitly ruled out by the namespace spec.  Check
sections 2 and 5.2 of the namespace spec.  The DOM WG checked this carefully 
and did the right thing.  There are only two cases: there is a namespace 
with a non-null URI, or there isn't a namespace.

>One more edge case for applications to trip over!

Wrong. -Tim


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list