[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Schema in xquery

Michael Kay mike at saxonica.com
Tue Mar 6 00:41:03 PST 2012


  Schema in xquery
On 06/03/2012 02:27, David Lee wrote:
> I've been contemplating the relationship between schema and type in schema aware xquery.
> Is xquery strictly tied to XSD? That is,  could an implementation support another schema format such as rng to provide for the type system?
It would be possible to support a different schema language, but not 
without difficulty.

(a) XSD is the only schema language I know of that defines how elements 
and attributes in the instance document are associated with types, and 
that includes constraints (such as the notorious UPA) to make this 
association unambiguous.

(b) Many of the concepts of XSD, such as the distinction between simple 
and complex types, substitution groups, and nullability, turn up in the 
semantics of XQuery, and would need to be mapped to the concepts of a 
different schema language.

Michael Kay
Saxonica




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
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.