Re: [Q] How should SAX support Namespaces?

Dan Brickley (Daniel.Brickley@bristol.ac.uk)
Mon, 20 Jul 1998 13:33:48 +0100 (BST)


On Mon, 20 Jul 1998, Michael Kay wrote:
> >How should SAX support namespaces? I can think of three
> options:

> I guess people will also want to know the prefix used.
> Although the prefix is theoretically arbitrary, there are
> likely to be many conventional prefixes in use and
> applications may want to leave the prefix unchanged in an
> output document.

Yes. It's also likely that some people will be interested in using
namespace prefixes within the values of attributes. So the prefix<->URI
mapping needs to be accessible if <ABC:DEF XYZ="ABC:someNameHere"> is to
be intelligible, ie if the "ABC" in "ABC:someNameHere" is to be hooked up
to a URI.

Dan