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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Why SAX needs namespace support

[ Lists Home | Date Index | Thread Index ]
  • From: <david@megginson.com>
  • To: "XML Developers' List" <xml-dev@ic.ac.uk>
  • Date: Tue, 26 Jan 1999 17:21:15 -0500 (EST)

Paul Prescod writes:

 > Namespaces only make sense in a world where you can more or less
 > randomly mix objects from different problem domains. That very
 > seldom happens in the document world. It would require some way to
 > dynamically assemble processing specifications (stylesheets).

Or, at a minimum, it would require application-specific rules for
dealing with unknown elements and attributes, similar to those in the
architectural forms spec.  For unknown attributes, it will almost
always make sense to ignore them; for unknown elements, there are
three useful options (other than choke-and-die or

1. Ignore the element and all of its descendants.

2. Ignore the element boundaries and process the content as if it were 
   part of the parent element.

3. Ignore the element boundaries and character content, but resume
   processing for any recognised descendant element.

As Paul points out, the RDF case is simple because (1) can be applied
universally; a technical manual or a web page is not so simple.

That said, not all document processing has to do with rendering and
publishing, even outside of the data world.

All the best,


David Megginson                 david@megginson.com

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/
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