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

RE: Future of XQuery and XQuery Update Faclilty

Jonathan Robie jonathan.robie at redhat.com
Mon Oct 22 10:07:21 PDT 2007


  RE: Future of XQuery and XQuery Update Faclilty
Thomas Lord wrote:
> Why is there a need for XQUF?

Because people need to make changes to data.

> Pending updates could be expressed in straight XML.   Why
> is a new and non-externalizable type needed to supplement
> XDM?   

The pending update list is purely an abstraction used internally by an 
implementation. What benefit would there be to externalizing it in a 
standard way? How would you propose to do this with "straight XML"?

> It seems a horrible rule, not least because of the
> segregation of "declare updating function" procedures from
> "declare function" in the static type rules for XQuery.

A great deal of optimization in XQuery is based on the assumption that 
there are no side effects. Updates invalidate that assumption. Also, the 
user generally knows that calling a function does not result in changes 
to the underlying data. For both the compiler and the user, I think it's 
helpful to identify functions that update.

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
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.