This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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?
Yes, this statement is in error. Our next WD will replace the rule you cite in 3.1.8 (upd:replaceNode) with: "If $target is an attribute node, the attributes property of parent($target) is modified by removing $target and adding the nodes in $replacement (if any)." Please close this bug report if you agree with this resolution.