[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

Thomas Lord lord at emf.net
Mon Oct 22 14:20:48 PDT 2007


  RE: Future of XQuery and XQuery Update Faclilty
Jonathan Robie wrote:
>
> Perhaps another way of putting it: what is central here is the updates 
> that are to be done. To specify the updates to be done, an application 
> would write queries that contain updates, it would not generate a 
> pending update list in XML so that a different application can do the 
> updates. Distributing a single update among multiple applications is 
> not a simplification.


Ugh.   This is the problem of people not wanting to write in 
"environment passing style".   There's a trivial transform from queries 
that contain XQUF-style updates to a program in "straight XML" style but 
it involves threading through an extra parameter to every function and 
making heavy use of tail calls.   But, those awkwardnesses are, at most, 
just a question of syntax -- no need for "declare updating function".




>
> The pending update list is a way of defining the semantics of the 
> language. We don't expose the formal semantics as XML either, nor the 
> import mechanism, nor many other aspects of our semantics. Most users 
> will use one XQuery engine for a given update, and simply issue an 
> update and observe the results.
>

Updates aren't the *only* kind of extension that need some concept of 
environment passing style.  It's an open-ended design pattern.  Any 
update-specific solution is suspect on programming language theory grounds.

-t




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.