W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2010

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 16 Mar 2010 22:24:51 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-9256-523@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:59 GMT