SAX2: Namespace proposal

David Megginson david at
Mon Dec 20 21:15:26 GMT 1999

Hill, Les writes:

 > How could the first work without the expanded signature of the second?
 > Imagine the following:
 > <f:bar xmlns:f="foo" xmlns:b="baz" b:y="z">
 > </f:bar>
 > resulting in:
 > 	startNamespace("foo")
 > 	startNamespace("baz")
 > 	startElement("bar", atts)
 > which namespace is "bar" in?

That's a separate question -- the idea of the original suggestion is
that NamespaceContext would not be nested -- in the worst case, there
would have to be start/endNamespaceContext events for every element.
This is separate from the question of reporting the scope of Namespace 

All the best,


David Megginson                 david at

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

More information about the Xml-dev mailing list