RFR(JDK 13/java.xml) 8206132: DOM parser does not honor DocumentBuilderFactory.setExpandEntityReferences(false)
Joe Wang
huizhe.wang at oracle.com
Fri Jan 18 18:05:06 UTC 2019
Please review a change to the DOM parser so that it complies with the
specification with regard to the ExpandEntityReferences feature. This
change corrects the behavior so that the resulting DOM tree includes
EntityReference nodes but not the expanded Text nodes when the feature
is off. It also means that the DOM parser will not attempt to read
entity references if any.
JBS: https://bugs.openjdk.java.net/browse/JDK-8206132
webrevs: http://cr.openjdk.java.net/~joehw/jdk13/8206132/webrev/
Thanks,
Joe
More information about the core-libs-dev
mailing list