Re: Few typos in WD

Dear Jirka,

This is a response to the following message, which you posted to the XML 
Query Working Group's comments list:

http://lists.w3.org/Archives/Public/www-xml-query-comments/2001Feb/0034

The XML Query Working Group has approved the following response:


  > In 2nd chapter in table summarizing XPath syntax:
  >
  > Current  : // Denotes descendants of current node
  > Should be: // Denotes descendants of root node, or separator between
  > node and its descendants

Actually, this whole table could use some reworking - in XQuery, the input 
to a query can be a collection of document nodes, so "/" on the left hand 
can refer to a set of nodes, not just a single node. Whether "//" refers to 
the current node or the root node depends on whether it is leftmost in the 
expression.

  > (Q10):
  >
  > Current  : avg(document("bib.xml")/book...)
  > Should be: avg(document("bib.xml")//book...)

Yes, since the root element is presumably a bib. I believe that is probably 
the same problem that shows up in the other queries as well. We'll fix this 
in the next draft.

  > I have one unrelated question. Will XQuery have
  > support for inserting, deleting and updating
  > XML fragments in repository of XML documents?

The Working Group has not committed itself to doing this. There is a group 
of people in the Working Group who are working on a proposal for updates, 
and I can put you in touch with them if you ask me to.


We appreciate your feedback on the XML Query specifications. Please let us 
know if this response is satisfactory. If not, please respond to this 
message, explaining your concerns.

Jonathan Robie
On behalf of the XML Query Working Group

Received on Wednesday, 28 March 2001 11:49:40 UTC