Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: RDDL: new natures


  • From: Elliotte Harold <elharo@...>
  • To: Jonathan Borden <jonathan@...>
  • Date: Mon, 11 Dec 2006 09:32:17 -0500

Jonathan Borden wrote:

> When I say that the rddl:nature of http://example.org/foo.xsd is "XML 
> Schema", this is intended to assert that it is reasonable to assume that 
> http://example.org/foo.xsd ought comply with the "XML Schema" 
> specification i.e. validate as an "XML Schema".


I believe this to be sufficiently asserted by 
xlink:role="http://www.w3.org/2001/XMLSchema"

> What I *don't* want to say is that <http://example.org/foo.xsd> is a 
> member of the XML Schema namespace. 

Good. xlink:role="http://www.w3.org/2001/XMLSchema" does not say that.

In fact, I'm not sure anything would. URLs and documents are not 
generally considered to be members of a namespace. The document at 
http://example.org/foo.xsd could say that the root element is a member 
of the namespace with a xmlns="http://www.w3.org/2001/XMLSchema" 
attribute; but that's a very different thing.


> Using 
> <http://www.w3.org/2001/XMLSchema> as the URI for the nature of "XML 
> Schema" creates this ambiguity for ***software agents***. 

In practice XML software agents are indeed smart enough to distinguish 
between xlink:role="http://www.w3.org/2001/XMLSchema" and 
xmlns="http://www.w3.org/2001/XMLSchema" and even 
xlink:href="http://www.w3.org/2001/XMLSchema". I don't think there's any 
ambiguity here we need to worry about.


-- 
Elliotte Rusty Harold  elharo@...
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords