[Home] [By Thread] [By Date] [Recent Entries]

  • From: Stefan Haustein <haustein@l...>
  • To: james anderson <James.Anderson@m...>
  • Date: Fri, 07 Jan 2000 16:25:22 +0100

If attributes are defaulted to the element's namespace in SAX, 
and you build a DOM tree of the parser output, access to 
unprefixed attributes will be unclear in DOM:

call getAttributeNS (null, ....) or getAttributeNS (elementNS, ....) ?

Also, a DOM writer that follows the namespace spec, would add 
prefixes to all unprefixed attributes (!!)

Thus, either the namespace specification should be simplified or
unprefixed attributes should not default to the element's namespace.

Best regards

Stefan

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member