W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2005

[Bug 2555] error in EBNF XQuery: DirElemConstructor in wrong place?

From: <bugzilla@wiggum.w3.org>
Date: Tue, 29 Nov 2005 16:34:27 +0000
To: public-qt-comments@w3.org
Message-Id: <E1Eh8R1-0003El-Tn@wiggum.w3.org>


------- Additional Comments From davidc@nag.co.uk  2005-11-29 16:34 -------
(In reply to comment #2)
> ok. But that means selection and return control are in one statement.
> What would then mean /a/b/<c/>/d/e 

it selects nothing as <c/> has no d children but
would select one (newly created) e node for each /a/b node selected from the
original context.
It looks odd, but just think of each step as being a function returning some
sequence of nodes, and think of <c>....</c> as being a function that returns a
sequence of one new node, and it all works out in the end.
Received on Tuesday, 29 November 2005 16:35:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:26 UTC