- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 11 Jun 2007 23:19:56 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4527 chamberl@almaden.ibm.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from chamberl@almaden.ibm.com 2007-06-11 23:19 ------- Michael, The Query Working Group considered this bug report on June 5, 2007 and agreed to make the following changes to the XQuery Update specification: In Section 2.4.1 (Insert), replace the first three bullets with the following three bullets, each of which has multiple sub-bullets: * If before (or after) is specified: - The inserted nodes become the preceding (or following) siblings of the target node. - If multiple nodes are inserted by a single insert expression, the nodes remain adjacent and their order is preserved. - If multiple groups of nodes are inserted by multiple insert expressions in the same snapshot, adjacency and ordering of nodes within each group is preserved but ordering among the groups is implementation-dependent. * If as first into (or as last into) is specified: - The inserted nodes become the first (or last) children of the target node. - If multiple nodes are inserted by a single insert expression, the nodes remain adjacent and their order is preserved. - If multiple groups of nodes are inserted by multiple insert expressions in the same snapshot, adjacency and ordering of nodes within each group is preserved but ordering among the groups is implementation-dependent. * if into is specified without as first or as last: - The inserted nodes become children of the target node. - If multiple nodes are inserted by a single insert expression, their order is preserved. - The positions of the inserted nodes will be chosen so as not to interfere with the intended positions of nodes that are inserted with the specification before, after, as first, or as last. For example, If node B is inserted "after node A", no other node may be inserted between nodes A and B unless it is also inserted "after node A". - Subject to the above constraints, the positions of the inserted nodes among the children of the target node are implementation-dependent. ================ In Section 2.4.1 (Insert), in semantic Rules 5a and 5b, replace "as first" by "as first into" and replace "as last" by "as last into". ================ In Section 3.1.3 (upd:insertInto), under "Semantics", replace the bullet with the following: * The children property of $target is changed to include the nodes in $content in implementation-dependent positions, preserving their order. If you are satisfied with this resolution of this bug report, please change its status to "Closed". Regards, Don Chamberlin (for the Query Working Group)
Received on Monday, 11 June 2007 23:19:58 UTC