OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: "Namespaces in XML" idea?

[ Lists Home | Date Index | Thread Index ]
  • From: Tyler Baker <tyler@infinet.com>
  • To: Lars Marius Garshol <larsga@ifi.uio.no>
  • Date: Tue, 09 Feb 1999 15:45:08 -0500

Lars Marius Garshol wrote:

> * Tyler Baker
> |
> | It would be nice if and when the namespaces recommendation is
> | updated if it mas made a formality that a conforming namespace aware
> | processor strips namespace nodes from the document model before
> | presenting the parsed content to the application.
> Do you think this is really necessary? I think in some cases it would
> be desirable to see them, and in most cases not. So even if this
> change is made I think it should be "at user option".

At least for interfaces like SAX I think this default "user option" should be to strip
namespace nodes.

> Anyway, it's a rather obvious user option, so methinks there isn't all
> that much need to mention it in the spec. The xmlproc namespace code
> currently has an option that lets the user decide whether the
> declaration attribute should be reported or not.

Yah that is true.  I would just argue that the default should be to strip for the sake of
consistency among XML namespaces processors or else the option not to strip should be a
proprietary feature of an XML namespaces processor and that formal conformance should be for
namespace processors to strip namespace nodes before presenting them to the application.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS