[Q] How should SAX support Namespaces?

Dan Brickley Daniel.Brickley at bristol.ac.uk
Mon Jul 20 14:34:43 BST 1998


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


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