[Bug 4175] Error in upd:replaceNode()

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

           Summary: Error in upd:replaceNode()
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: john.snelson@oracle.com
         QAContact: public-qt-comments@w3.org


In section 3.1.8.3.a of the XQuery Update specification, it states:

  if $target is an attribute node, the attributes property of parent($target)
is
  replaced by $replacement.

This seems to be worded incorrectly and should probably be replaced with
something like this:

  if $target is an attribute node, $target is removed from the attributes
property
  of parent($target), and is replaced by $replacement.

Received on Tuesday, 9 January 2007 18:53:46 UTC