This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4175 - [UPD] Error in upd:replaceNode()
Summary: [UPD] Error in upd:replaceNode()
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Update Facility (show other bugs)
Version: Working drafts
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 18:53 UTC by John Snelson
Modified: 2007-01-30 20:35 UTC (History)
0 users

See Also:


Attachments

Description John Snelson 2007-01-09 18:53:32 UTC
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.
Comment 1 Don Chamberlin 2007-01-30 15:43:27 UTC
John,
Thanks for catching this error. The working group agrees with your comment and will correct the error in the next version of the update specification.
Regards,
Don Chamberlin (for the Query Working Group)