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

Re: Ten new XQuery, XSLT 2.0 and XPath 2.0 Working Drafts


xpath 2.0 implementation
On Tue, 6 May 2003 13:04:36 -0700, Dare Obasanjo <dareo@m...> 
wrote:


> What conformance levels mean from the perspective of XQuery has been
> clearly spelled out in the XQuery language working draft for at least
> the past 6 months. If you are unaware of it I suggest reading
> http://www.w3.org/TR/xquery/#id-conformance

Clearly?? We *are* talking about the XQuery magnum opus here :-)

"In principle" was the operative point.  My point was that the XQuery WG 
could, in principle, define a "Minimal XQuery" that relaxed the constraints 
of section 2.6.1, something along the lines of (just making this up, 
obviously it's not proper spec-ese):

----------------------------------------------------------
In a Minimal XQuery implementation, the in-scope type definitions consist 
only elements, attributes, and text

A mapping from a Post-Schema Validation Infoset (PSVI) to the Data Model is 
specified in [XQuery 1.0 and XPath 2.0 Data Model]. In a Minimal XQuery 
implementation, this mapping maps everything to a string, as God and XML 
1.0 intended.

If the processing of an expression depends on the type of some value, a 
Minimal XQuery implementation raises a dynamic error.

A Minimal XQuery implementation must not raise no freakin' type errors, 
ever.
-----------------------------------------------------------

Of course, this is not likely to happen, but that seems to be something 
like what Joe English and Dave Pawson would have liked to see.

p.s. and somewhat OT:  Since we seem to have opened up the "datatypes and 
XML" permathread, I noticed that even Bruce Eckel is beginning to wonder: 
"if strong static type checking is so important, why are people able to 
build big, complex Python programs (with much shorter time and effort than 
the strong static counterparts) without the disaster that I was so sure 
would ensue? " http://mindview.net/WebLog/log-0025
[The alternative he notes is "strong testing" in the XP sense, not "do your 
own thing."
A similar epiphany is described at 
http://www.artima.com/weblogs/viewpost.jsp?thread=4669]




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.