JDK-8016421 : Property http://javax.xml.XMLConstants/property/accessExternalDTD is not recognized.
  • Type: Backport
  • Backport of: JDK-8016153
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 7u40
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-06-11
  • Updated: 2013-07-18
  • Resolved: 2013-06-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40 b30Fixed 8Fixed
Comments
Verified with attached testcase with jdk 7u40 b30 on Linux amd64: $ jdk1.7.0_40b29/bin/java -cp .:xercesImpl.jar:xml-apis.jar PluginParser Number of tests passed: 0 Number of tests failed: 1 Exception in thread "main" java.lang.RuntimeException: java.util.MissingResourceException: Can't find resource for bundle com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMessages, key Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized. at TestBase.tearDown(TestBase.java:59) at PluginParser.main(PluginParser.java:39) $ jdk1.7.0_40b30/bin/java -cp .:xercesImpl.jar:xml-apis.jar PluginParser Warning: org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized. Compiler warnings: WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' <?xml version="1.0" encoding="UTF-8"?>test passed Number of tests passed: 1 Number of tests failed: 0
18-07-2013