[Bug 4529] [UPD] Sections 2.4.1 insert clarify that as first and as last only apply to into

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


mrys@microsoft.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal




------- Comment #1 from mrys@microsoft.com  2007-05-22 17:24 -------
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)

Received on Tuesday, 22 May 2007 17:24:10 UTC