|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: FW: [ANN]: XQuery: A Guided Tour
Dare Obasanjo wrote: >As for XQuery being able to support other XML schema languages in future, this is nice but I'm curious as to what exactly this means in practical terms. > It seems the XQuery does not use (declarations for) - facets - key/keyref - nillable - details of user-defined derivation hierarchies (i.e., it is interested in supertypes or subtypes only as an unordered list, not as an ordered list or anything: like substitution groups, only the name is important) and creates its own type hierarchy for lists and unions which is different from WXS. (An improvement, I presume it could be folded into WXS.) Given all that, XQuery looks pretty good in this department. I could easily imagine (unambiguous) RELAX NG (with WXS datatypes and a minimal PSVI interface) fitting in. It might be pretty difficult to have an XQuery implementation that supports pluggable schema languages, of course; and the constant revalidation probably rules out a schema language that may want to access the whole document (Schematron, WXS key/integrity constraints, etc.) The main problem I see for XQuery is that XQueryX completely [expletive deleted]. For those who have missed it, XQuery defines a nice whitespace-tokenized language, but it also has another syntax that looks like XML but is not XML: different namespace rules, <





