W3C home > Mailing lists > Public > www-ql@w3.org > January to March 2006

RE: XQuery Update Facility Working Drafts

From: Michael Kay <mhk@mhk.me.uk>
Date: Wed, 1 Feb 2006 22:07:34 -0000
To: "'Michael Rys'" <mrys@microsoft.com>, "'Fiebig, Thorsten'" <Thorsten.Fiebig@softwareag.com>, "'Jonathan Robie'" <jonathan.robie@datadirect.com>, <www-ql@w3.org>
Message-ID: <E1F4Q8t-0004j9-Jo@aji.w3.org>

I remember raising a comment on the requirements document that there needed
to be features for adding documents to a collection and deleting documents
from a collection.

I suspect that the task force is focusing its energy on more
difficult/interesting problems...

Michael Kay
  

> -----Original Message-----
> From: www-ql-request@w3.org [mailto:www-ql-request@w3.org] On 
> Behalf Of Michael Rys
> Sent: 01 February 2006 21:40
> To: Fiebig, Thorsten; Jonathan Robie; www-ql@w3.org
> Subject: RE: XQuery Update Facility Working Drafts
> 
> 
> The insert statement as currently defined needs a node as insertion
> target. Since you cannot insert a document node into any 
> other node, you
> cannot insert it using the insert statement. You should use a 
> mechanism
> that is specific to your environment to insert documents. E.g. in SQL
> you would use the SQL INSERT or UPDATE statement to insert the XML
> document into a cell...
> 
> Best regards
> Michael
> 
> > -----Original Message-----
> > From: www-ql-request@w3.org [mailto:www-ql-request@w3.org] On Behalf
> Of
> > Fiebig, Thorsten
> > Sent: Wednesday, February 01, 2006 1:22 PM
> > To: Jonathan Robie; www-ql@w3.org
> > Subject: RE: XQuery Update Facility Working Drafts
> > 
> > 
> > Hi,
> > 
> > I like the update proposal, but I have one major concern. My current
> > observation is that proposal allows the removal of document 
> nodes from
> > an XDM instance via the "delete" operation. Assuming that my XDM
> > instance represents an XML database I can remove a document (node)
> from
> > my database via the "delete" operation.
> > On the other hand the constraints defined for the "insert" operation
> > seem to forbid the insertion of document nodes into an XDM 
> instance. I
> > have a problem with that, because from my point of view 
> this makes it
> > impossible to insert new document nodes into a database via XQuery
> > update.
> > 
> > Best Regards,
> > 
> > Thorsten Fiebig
> > 
> > 
> > -----Original Message-----
> > From: www-ql-request@w3.org [mailto:www-ql-request@w3.org] On Behalf
> Of
> > Jonathan Robie
> > Sent: Friday, January 27, 2006 9:11 PM
> > To: www-ql@w3.org
> > Subject: XQuery Update Facility Working Drafts
> > 
> > 
> > Two new Working Drafts were published today:
> > 
> > XQuery Update Facility
> > W3C Working Draft 27 January 2006
> > http://www.w3.org/TR/2006/WD-xqupdate-20060127/
> > 
> > XQuery Update Facility Use Cases
> > W3C Working Draft 27 January 2006
> > http://www.w3.org/TR/2006/WD-xqupdateusecases-20060127/
> > 
> > I wrote a quick summary of the functionality provided in 
> the following
> > blog entry:
> > 
> >
> http://blogs.datadirect.com/jonathan_robie/2006/01/first_worki
> ng_d.html
> > 
> > Hope this is useful!
> > 
> > Jonathan
> > 
> > --
> > Read my Blog: http://blogs.datadirect.com/jonathan_robie/
> > Learn XQuery:
> > 
> http://media.datadirect.com/download/docs/ddxquery/tutorial_query.html
> > Learn XQJ (the JDBC for XQuery):
> > http://www.datadirect.com/developer/xquery/topics/xqj_tutorial/
> > Get DataDirect XQuery: http://www.datadirect.com/products/xquery/
> > 
> > 
> > 
> 
> 
> 
Received on Wednesday, 1 February 2006 22:08:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:44 UTC