Improve JAXP 1.5 error message

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 7u40, 8
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: