W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2007

[Bug 4574] [UPD] Section 2.4.1/3.1.3 upd:insertInto: Preserve order of inserted sequence

From: <bugzilla@wiggum.w3.org>
Date: Tue, 22 May 2007 17:10:43 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1HqXsh-0001Bi-Jq@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4574

           Summary: [UPD] Section 2.4.1/3.1.3 upd:insertInto: Preserve order
                    of inserted sequence
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Update Facility
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: mrys@microsoft.com
         QAContact: public-qt-comments@w3.org


Insert into should preserve the order of an inserted sequence. 

Users can always use insert unorder { expr } into target if the order of the
inserted sequence should be implementation-dependent.

Proposed change:
"Semantics
The semantics of upd:insertInto are identical to the semantics of
upd:insertBefore, except that $target is substituted everywhere for
parent($target), and Rule 2a is changed as follows:

The children property of $target is changed to include the nodes in $content.
The order among the new children, and their position within the parent node, is
implementation-dependent."

to 

"Semantics
The semantics of upd:insertInto are identical to the semantics of
upd:insertBefore, except that $target is substituted everywhere for
parent($target), and Rule 2a is changed as follows:

The children property of $target is changed to include the nodes in $content.
The new sequence of children is inserted at an implementation-dependent
location among the parent node's children, preserving the sequence and its
order."
Received on Tuesday, 22 May 2007 17:10:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:18 UTC