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

Improve JAXP 1.5 error message

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: