[Q] How should SAX support Namespaces?
Don Park
donpark at quake.net
Mon Jul 20 22:43:14 BST 1998
David,
Welcome back.
>How should SAX support namespaces? I can think of three options:
#3 is the obvious choice for me. In my own little experimental version, I
also added following method to the DocumentHandler interface:
void namespace (String ns, String src, String prefix);
I added the above method because it is annoying for SAX clients to parse the
namespace PI data into three attributes. Since parsers already have the
code, why not leverage it?
BTW: DOM spec update is out everyone. Free-DOM will follow soon (tonight or
tommorrow).
Best,
Don Park
CTO/Docuverse
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