- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 02 Jan 2008 18:14:33 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5337 Summary: removeType() as a result of replace node Product: XPath / XQuery / XSLFO / XSLT Version: Last Call drafts Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Update Facility AssignedTo: andrew.eisenberg@us.ibm.com ReportedBy: mike@saxonica.com QAContact: public-qt-comments@w3.org The rules for insert and delete are careful to call removeType() only if the nodes being inserted/deleted can affect the type (that is, if they are elements, attributes, or text nodes). The rules for replace make no such provision; they remove the type annotation even if the only effect is to replace a comment with a processing instruction. It's a minor point, but the rules should be symmetrical. removeType() is necessary if either the node being replaced or one of the nodes inserted in its place is a text, attribute, or element node.
Received on Wednesday, 2 January 2008 18:14:39 UTC