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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Registered Namespace prefixes

[ Lists Home | Date Index | Thread Index ]

On Friday 07 March 2003 01:41 pm, Daniel Veillard wrote:
>  So you want to ban any Jabber like processing of XML by forcing the
> universe of vocabularies usable in an instance to be known at the
> time and by the framework where you emit the root opening tag ?

No, and namespaces don't solve that problem anyway. It's a red herring.

If I declare my messages to be:

  <!ELEMENT message (head?, body)>
  <!ELEMENT head (property+)>
  <!ELEMENT property (#PCDATA)>
  <!ATTLIST property CDATA #REQUIRED>
  <!ELEMENT body ANY>

First, how have I constrained what can be contained in the <body> tag such 
that I am "forcing the universe of vocabularies usable in an instance to be
known at the time and by the framework where you emit the root opening tag"? 

Second, how do namespaces help?

>  I think I disagree. Even if it would clearly be simpler, it would be
> a problem in a number of cases, XSLT and Jabber being prime examples.

The only reason why these work is that they have a specification that 
*processors* of that specific tag set adhere to (i.e. the set of *known* tags 
is predefined). Namespaces aren't necessary here either... plain old prefixes 
would work just as well.





 

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

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