[Bug 9256] New: upd:replaceNode creates namespace bindings on parent($target), not $target

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

           Summary: upd:replaceNode creates namespace bindings on
                    parent($target), not $target
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: josh.spiegel@oracle.com
         QAContact: public-qt-comments@w3.org
                CC: josh.spiegel@oracle.com


In section 3.2.1 upd:mergeUpdates, semantics bullet 2. f. ii. reads:

"upd:replaceNode creates one namespace binding on the $target element
corresponding to the implied namespace binding of the name of each attribute
node in $replacement."

I believe here $target should be replaced with parent($target).  When
$replacement contains attributes, the $target node must also be an attribute. 
(see section 2.4.3.1, bullets 3/4)

This issue also applies to step 1 in upd:applyUpdates.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 16 March 2010 22:24:52 UTC