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

Schema in xquery

Liam R E Quin liam at w3.org
Mon Mar 5 23:20:47 PST 2012


  Schema in xquery
On Tue, 2012-03-06 at 02:27 +0000, 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?  Without conversion to XSD?   Is validation strictly bound to
> type assignment?

Lots of questions here.

Anything that produces XDM instances is fine, and in fact XSD is not
tied to XDM either.

Validation is the mechanism in XQuery to get type annotations onto
nodes, but this does not preclude the use of a DTD, or of some other
validation mechanism than XSD.

I asked James Clark and Murata-san a similar question. The answer seems
to be that RNG doesn't do the *deterministic* type assignment that you
need to get the annotations working. But it could be done in principle.

The term "validation" is indeed overloaded to include "see if you can
assign types to these nodes or not".

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/



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-2011 All Rights Reserved.