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] XQuery and DTD/Schema?

[ Lists Home | Date Index | Thread Index ]

> Even if XQuery (and XSLT2/XPath2) accept PSVI constructed by 
> means other than W3C Schema as input documents, the drafts 
> currently have strong bias towards W3C Schema in that the 
> validate expression requires (at my reading at least) a W3C 
> schema and similarly the types statically known to the query 
> are specified by schema import which again has to be 
> W3C schema, I think.
> 
There are a lot of open questions here. The schema import says that "it
imports element and attribute declarations and type definitions from a
schema". It doesn't say what language the schema has to be written in. I
think this leaves room for implementors to support mappings to other
schema languages - though I agree that the terminology (like the type
system itself) is heavily biased towards XML Schema.

The XQuery validate expression (which, I think, is likely to disappear
from XPath) does refer normatively to the semantics of validation as
defined in XML Schema. But all that it is really saying is that the
definition of whether an instance conforms to a type is to be found in
the XML Schema specification, which is implicit in saying that the type
system is based on that of XML Schema. It's quite possible, I think,
that we could abstract away from this by saying that an imported type
definition supplies its own validation method.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 





 

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

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