This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4529 - [UPD] Sections 2.4.1 insert clarify that as first and as last only apply to into
Summary: [UPD] Sections 2.4.1 insert clarify that as first and as last only apply to into
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Update Facility (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-04 23:26 UTC by Michael Rys
Modified: 2008-05-15 19:41 UTC (History)
0 users

See Also:


Attachments

Description Michael Rys 2007-05-04 23:26:20 UTC
"If as first (or as last)": should make clear it is only for into.
Comment 1 Michael Rys 2007-05-22 17:24:06 UTC
The spec says "If as first (or as last) is specified, ". Replace with "If as first (or as last) is specified for into, "

Also reword:

5. The result of the insert expression is an empty XDM instance and a pending update list constructed as follows:

a. If as first <new>into</new> is specified, the pending update list consists of the following update primitives:

If $alist is not empty, upd:insertAttributes($target, $alist)

If $clist is not empty, upd:insertIntoAsFirst($target, $clist)

b. If as last <new>into</new> is specified, the pending update list consists of the following update primitives:

If $alist is not empty, upd:insertAttributes($target, $alist)

If $clist is not empty, upd:insertIntoAsLast($target, $clist)

Comment 2 Don Chamberlin 2007-06-11 23:31:39 UTC
Michael,
On June 5, 2007, the Query Working Group agreed to make the changes proposed in this bug report. Therefore I am marking it as "Fixed". Please change its status to "Closed".
Regards,
Don Chamberlin (for the Query Working Group)