- From: Wu, Emma <Emma.Wu@ddytech.com>
- Date: Mon, 30 Jul 2007 09:30:25 -0600
- To: "Martin Probst" <mail@martin-probst.com>, "Jonathan Robie" <jonathan.robie@redhat.com>
- Cc: "Carmelo Montanez" <carmelo@nist.gov>, <www-ql@w3.org>
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:mail@martin-probst.com] Sent: Saturday, July 28, 2007 3:09 AM To: Jonathan Robie Cc: Wu, Emma; Carmelo Montanez; www-ql@w3.org 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. 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
Received on Monday, 30 July 2007 15:30:44 UTC