[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:21:39 UTC