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

Re: RE: XQuery and DTD/Schema?


xquery clustering xml
At 04:26 PM 7/8/2002 -0400, Simon St.Laurent wrote:
>At 04:20 PM 7/8/2002 -0400, Jonathan Robie wrote:
>>On the other hand, if you are satisfied with understanding only simple 
>>types, you could try the simplest conformant subset of XQuery.
>
>I'd prefer that, but I'd prefer not to have to dumpster-dive through the 
>rest of the specification to find it.  That "simplest conformant subset" 
>is not an obvious spec.

Sorry for replying to myself, but this frightened canary just went 
dumpster-diving and wasn't very happy with what I found.

We have, in http://www.w3.org/TR/xquery/#id-introduction:
----------------------
XQuery is a strongly typed language.... XQuery is likely to have multiple 
conformance levels. There may be a conformance level that does not include 
static type checking. There may be a conformance level that does not 
support Schema import, so that only built-in types and node types may be 
used in declarations. [Ed. Note: See Issue 42 for a further discussion of 
conformance levels.]
----------------------

At Issue 42 (http://www.w3.org/TR/xquery/#xquery-type-conformance) we find:
----------------------
42. xquery-type-conformance: Implementation of and conformance levels for 
static type checking
Issue Class: T Locus: xquery Cluster: type-semantics Status: decided
Originator: Don
Description
Static type checking may be difficult and/or expensive to implement. Some 
discussion of algorithmic issues of type checking are needed. In addition, 
we may want to define "conformance levels" for XQuery, in which some 
processors (or some processing modes) are more permissive about types. This 
would allow XQuery implementations that do not understand all of Schema, 
and it would allow customers some control over the cost/benefit tradeoff of 
type checking.

This item is a duplicate of the Formal Semantics issue [link to member only 
information] .

Actual Resolution
Addressed by the "Named Typing" proposal.
----------------------------------------------

I have a very hard time being comforted by the prospect of a "Named Typing" 
proposal, especially one I cannot find.  I don't think these are issues 
that my "using XQuery" has any chance whatsoever of resolving.

How much time have I wasted on this today?  Geez.

Simon St.Laurent
"Every day in every way I'm getting better and better." - Emile Coue


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.