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

RE: XQuery and DTD/Schema?


RE:  XQuery and DTD/Schema?
At 10:17 PM 7/3/2002 +0100, Michael Kay wrote:
> > - XQuery is semantically wired into the XSD basic type system, with
> >    the exception that the Duration type is underspecified so they use
> >    a custom restriction of it
>
>Well, the functions and operators are wired into it, and there are
>literals built in for four of the data types (decimal, integer, double,
>and string). The functions are just a library, not really a core part of
>the language. The operators probably could be abstracted away from the
>data types if we really wanted to do so. As it is, most of the Schema
>datatypes (e.g. the gRegorian family) have no intrinsic support in the
>language: one could define a core set of types that is substantially
>smaller than the set of Schema primitive types.

XQuery needs to know about integers, floats, strings, etc. The built-in 
types of XML Schema are used not only by XML Schema, but also by many 
RELAX-NG applications, RDF, the SQL/XML mappings being defined by the 
ANSI/ISO SQLX committee, etc. When these data types are so widely accepted, 
it just makes sense to support them.

Jonathan


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.