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

RE: FW: [ANN]: XQuery: A Guided Tour

  • To: "Jonathan Robie" <jonathan.robie@d...>,"Rick Jelliffe" <ricko@a...>,<xml-dev@l...>
  • Subject: RE: FW: [ANN]: XQuery: A Guided Tour
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Tue, 30 Sep 2003 07:26:33 -0700
  • Thread-index: AcOHXV5lDN4M7JzYRz2fWLDJP4Q5OwAACmuZ
  • Thread-topic: FW: [ANN]: XQuery: A Guided Tour

define promotion
xsi:nil and key/keyrefs are one part of the problem. The existence of union types, xsi:type and substitution groups also are problematic but this is mainly due to the fact that XQuery is statically typed.  
 
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. The working group already has seen the problems caused when one group builds a "type system" (and I use the term loosely) which they believe can work for some future language only for their assumptions to come out wrong. I originally was of the mind that this was a laudable goal of XQuery and still think it is a laudable goal to have it in the data model but wonder how feasible it is to actually create an XQuery implementation with what is basically a "pluggable" type system. A validation language with pluggable datatypes (which are basically custom checking on string values) like RELAX-NG has is fairly straightforward enough but a creating a pluggable type system where you have to deal with issues like type promotion & type substitutability is a bit harder. 

________________________________

From: Jonathan Robie [mailto:jonathan.robie@d...]
Sent: Tue 9/30/2003 7:13 AM
To: Rick Jelliffe; xml-dev@l...
Subject: Re:  FW: [ANN]: XQuery: A Guided Tour



At 03:56 AM 9/30/2003, Rick Jelliffe wrote:

>And the design requirement that the datatypes must "define a type system
>that is adequate
>for import/export from database systems (e.g., relational, object,
><http://www.olapcouncil.org/>OLAP)"

Well, as you know, I agree with you. If XQuery were to design its own
optimal schema language, I doubt that it would have xsi:nil or key/keyrefs
- features specifically provided for the sake of future query systems. I
think it was unwise to try to guess what the query language might become
later on.

>Other good quote, showing the false economy of non-modularity in big specs:
>
>* XQuery's design influenced by XML Schema's provision of
>   "a set of primitive types, a type-definition facility, and an
> inheritance mechanism...
>    (and) the validation process... Nevertheless, members of the working group
>    attempted to modularize the parts of the language that are related to type
>    definition and validation, so that XQuery could potentially be used with
>    an alternative schema language at some future time."

I think this is important.

Jonathan


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>




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.