RFR(JDK 13/java.xml) 8206132: DOM parser does not honor DocumentBuilderFactory.setExpandEntityReferences(false)

Joe Wang huizhe.wang at oracle.com
Fri Jan 18 19:19:34 UTC 2019


Please hold on reviewing the webrevs as the tests passed while the new 
tests were commented out as Lance pointed out.

Thanks,
Joe

On 1/18/19, 10:05 AM, Joe Wang wrote:
> 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