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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Obfuscating XML with namespaces

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <jcowan@reutershealth.com>
  • To: Amy Lewis <amyzing@talsever.com>, "xml-dev@xml.org" <xml-dev@xml.org>
  • Date: Tue, 10 Oct 2000 14:33:32 -0400

Amy Lewis wrote:

> Why are namespace declarations allowed to appear at any level in a
> document?

Basically so that independent components, each of which is responsible
for some part of a document, can generate their part in isolation from
the others.  If all namespaces had to be declared at the top, as in the
earliest versions of Namespaces, all components would have to
have global access to spit out their chosen namespace declarations in
advance, and some sort of cooperation to make sure they did not choose
conflicting prefixes.

> Since W3C seems really allergic to the
> idea of allowing any semantic meaning be attached to namespaces

Not at all.  The Namespace Rec, though, is meant to be low-level.

-- 
There is / one art                   || John Cowan <jcowan@reutershealth.com>
no more / no less                    || http://www.reutershealth.com
to do / all things                   || http://www.ccil.org/~cowan
with art- / lessness                 \\ -- Piet Hein




 

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

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