"Namespaces in XML" idea?

James Clark jjc at jclark.com
Tue Feb 9 12:42:23 GMT 1999


Ronald Bourret wrote:

> I was a little surprised to read that expat does not pass xmlns
> attributes to the application.

If you don't enable namespace processing, then expat of course does
parse xmlns attributes to the application.  However if you do enable
namespace processing, which means that prefixes get expanded into URIs,
then expat does indeed not pass xmlns attributes to the application
firstly because from the perspective of namespaces they are declarations
not attributes, and secondly because there is no URI defined to which
the xmlns prefix could be expanded.  However, it will, once I get a
chance to implement it, report namespaces declarations made using xmlns
attributes to the application using an additional callback.

James


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/ and on CD-ROM/ISBN 981-02-3594-1
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