RFR (jaxp): 8016153 : Property http://javax.xml.XMLConstants/property/accessExternalDTD is not recognized.

huizhe wang huizhe.wang at oracle.com
Mon Jun 10 15:45:33 UTC 2013


Hi,

This patch is to continue the support of plugging in 3rd party parser 
impls (such as Xerces) that do not support JAXP 1.5. The fix is to catch 
SAXNotRecognizedException, print out a warning, and then continue as 
usual. The warning is for a developer in case he actually sets the new 
access* properties on the TransformerFactory but has a 3rd party parser 
on the classpath that does not support the new properties.

webrev:
http://cr.openjdk.java.net/~joehw/jdk8/8016153/webrev/

I intend to backport the change to 7u.  The change will be identical.

Thanks,
Joe



More information about the core-libs-dev mailing list