You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Naela Nissar <nn...@ca.ibm.com> on 2004/11/04 20:51:50 UTC
Patch: Fix for DOM L3 replaceWholeText
This patch fixes a bug in replaceWholeText. So that we don't continue
removing text children that are not logically adjacent, we now break out
of the while when we hit a node that isn't a logically adjacent text node.
Also included is a test case and the xml file it uses.
Naela Nissar
XML Parser Development
IBM Toronto Lab
8200 Warden Ave., Markham, ON