Re: [Bug 3800] [UPD] upd:replaceNode has unexpected semantics for attributes

Good catch! Yes, this is a known editorial error and will be corrected.
Thanks,
--Don Chamberlin




bugzilla@wiggum.w3.org 
Sent by: public-qt-comments-request@w3.org
10/04/2006 04:21 PM

To
public-qt-comments@w3.org
cc

Subject
[Bug 3800] [UPD] upd:replaceNode has unexpected semantics for attributes







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

           Summary: [UPD] upd:replaceNode has unexpected semantics for
                    attributes
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Update Facility
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: rpbourret@rpbourret.com
         QAContact: public-qt-comments@w3.org


Rule 3a in section 3.1.8 (upd:replaceNode) states that: "If $target is an
attribute node, the attributes property of parent($target) is replaced by
$replacement."

This is unexpected, as it states that all attributes -- not just the 
target
attribute -- are replaced by $replacement. I assume this is an editorial 
error?

Received on Wednesday, 4 October 2006 23:51:06 UTC