Update the support DOM 3 and look at the possibility of removing the the dependency on Xerces. To remove the dependency on Xerces involves re-implementing the UglyBrowser.prettyprint() method.
Created attachment 18977 [details] Patch to implement support for DOM 3
Java 1.3 compatible DOM3 implementation is now in trunk