Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8015016

Improve JAXP 1.5 error message

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 8
    • 7u40, 8
    • xml
    • b96

    Backports

      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.

        Attachments

          Issue Links

            Activity

              People

                joehw Joe Wang
                joehw Joe Wang
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: