Re: [Q] How should SAX support Namespaces?

Don Park (donpark@quake.net)
Mon, 20 Jul 1998 13:34:28 -0700


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