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

Re: XQuery types was Re: Yet another plea for XUpda


Re:  XQuery types was Re:  Yet another plea for  XUpda
At 12:57 PM 5/6/2002 -0600, Uche Ogbuji wrote:
> > If you think Bertrand Meyer is on the right track, saying that both 
> dynamic
> > typing and static typing are important, then why do you think that this
> > does not apply to XQuery?
>
>Because Meyer was constructing a compiler: he had to deal directly with 
>the physical layer.  I think one of the strengths of XML is that 
>technologies at the XML layer should not have to.  This was also one of 
>the promises of relational DBMS, which I think got besmirched in the 
>ascendancy of SQL.

We agree that an XML query language should not be closely wed to a physical 
representation. But types are not an attribute of the physical layer, and I 
don't understand how strong static typing weds an XQuery implementation to 
any particular physical strategy. Can you go into more detail on this?

The strong static typing may tell me, for instance, that a query is invalid 
because you can't multiply an integer times a URL, or because a query will 
raise errors if an optional element is omitted in a dataset. What does this 
have to do with the physical storage of the data being queried?

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.