RFR (jdk13/java.xml) 8219692: DOM and SAX parser ignore namespace
Joe Wang
huizhe.wang at oracle.com
Mon May 20 23:06:45 UTC 2019
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
More information about the core-libs-dev
mailing list