Please review an enhancement to the DOM and SAX factories. By default, DOM/SAX factories created using the existing newInstance methods do not support XML Namespace. Parsers instantiated with such factories would therefore ignore namespaces. Users not realizing or unaware of the legacy setting may run into the issue as demonstrated in the bug description.

This patch addresses the issue by introducing new methods that must set NamespaceAware to true. Factories instantiated using these methods can therefore create parsers that support XML Namespace by default.

JBS: https://bugs.openjdk.java.net/browse/JDK-8219692
webrevs: http://cr.openjdk.java.net/~joehw/jdk13/8219692/webrev/

Thanks,
Joe

Reply via email to