[Q] How should SAX support Namespaces?

Michael Kay M.H.Kay at eng.icl.co.uk
Tue Jul 21 12:13:57 BST 1998


>David> How should SAX support namespaces?  I can think of
three
>David> options:
>
>I'd like to add a fourth: define namespace support as a
layer above
>SAX...

I think there is merit in this; given that XML Namespace is
a separate standard layered on top of XML 1.0, and that it
is perfectly legitimate to conform to XML 1.0 without
conforming to Namespace. It makes sense to reflect the same
structure in the API.

In practice it would probably amount to much the same thing,
the user would have the choice of giving the parser either a
DocumentHandler with the current interface, or a
NamespaceAwareDocumentHandler with a new enhanced interface.

Mike Kay


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/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe 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