United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8015016 Improve JAXP 1.5 error message
JDK-8015016 : Improve JAXP 1.5 error message

Details
Type:
Enhancement
Submit Date:
2013-05-21
Status:
Resolved
Updated Date:
2013-12-16
Project Name:
JDK
Resolved Date:
2013-06-06
Component:
xml
OS:
Sub-Component:
jaxp
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u40,8
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

Description
When external access is rejected by the newly introduced properties in JAXP 1.5, an error is reported back that looks like the following:

[Fatal Error] somefile.xml:11:50: External DTD:  Failed to read external DTD 'somefile.dtd', because 'file' access is not allowed.

This error message can be confused with a security manager issue, making it hard for users to identify the real issue.
                                    

Comments
URL:   http://hg.openjdk.java.net/jdk8/tl/jaxp/rev/c2957e596bee
User:  joehw
Date:  2013-06-06 22:04:31 +0000

                                     
2013-06-06
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jaxp/rev/c2957e596bee
User:  lana
Date:  2013-06-24 21:36:14 +0000

                                     
2013-06-24



Hardware and Software, Engineered to Work Together