Bugzilla – Bug 965
Optional namespace awareness
Last modified: 2013-02-27 18:09:46 CET
Created attachment 229 [details] The patch to make check the awareness of the parser We currently use validatorNU with the XPath API and find it inconvenient to specify the xhtml(default namespace in the parser always). Here is a patch that makes it possible to disable the namespace awareness from HtmlDocumentBuilder. Currently we use it like this: Document document = new HtmlDocumentBuilder() { public boolean isNamespaceAware() { return false; // note this! }; }.parse(input)