[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

static typing of XQuery?

Michael Rys mrys at microsoft.com
Thu Sep 21 11:32:32 PDT 2006


  static typing of XQuery?
Two reasons that I am aware off:

1. Architectural: Runtime errors are "expensive" in the context of an algebraic, index based optimization and execution engine.
2. Philosophical: Early, compile time error detection in a query is good. You don't want to have a query that runs during testing fail because of a runtime type change. It is easier to relax from conservative to optimistic than vice versa.

Note that I think over time we will be offering both. So far customers have rarely complained about the static typing (and if then about the parent axis rules of inferring anyType (on typed data)).

Best regards
Michael

> -----Original Message-----
> From: http://x-query.com/mailman/listinfo/talk [mailto:http://x-query.com/mailman/listinfo/talk] On Behalf
> Of Michael Kay
> Sent: Thursday, September 21, 2006 5:14 AM
> To: 'Frans Englich'; http://x-query.com/mailman/listinfo/talk
> Subject: RE:  static typing of XQuery?
>
>
>
> > Nope, I don't really expect a grandiose answer from you Mike,
> > but perhaps someone else can hum in. E.g, why would Microsoft
> > be more interested in it than Oracle?
>
> Perhaps because they employ more theorists. Pure conjecture.
>
> Michael Kay
> http://www.saxonica.com/
>
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk



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
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-2007 All Rights Reserved.