RE: XQuery Update to return values

"Wu, Emma" <[email protected]> Mon, 30 Jul 2007 09:30:25 -0600
Newsgroups gmane.comp.web.query-languages
Message-ID <[email protected]>
Hi Martin,

What is the syntax that X-Hive/DB supports for returning values? Or are
there any documents I can have a look at? Thanks.

Emma

-----Original Message-----
From: Martin Probst [mailto:[email protected]]=20
Sent: Saturday, July 28, 2007 3:09 AM
To: Jonathan Robie
Cc: Wu, Emma; Carmelo Montanez; [email protected]
Subject: Re: XQuery Update to return values

> In the current spec, you can either change a data model instance with
a
> query that generates a pending update list, or do a transform or a
> query, but you can't do both.=20

When I implemented the XQuery update spec for X-Hive/DB I deliberately
chose not to follow that path, but rather to allow update expressions to
return values. I still can't see any need or technical merit in that
limitation, and it really hurts if you want to do something as simple as
returning how many items were changed. I think there should still be an
open bug in W3C's bugzilla about that issue.

Best regards,
Martin Probst