SAX2: Namespace proposal

David Megginson david at megginson.com
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 
declarations.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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