[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XQuery and DTD/Schema?


xquery validate
> 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@n...
work: Michael.Kay@s... 


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.