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

Inconsistent behavior with USE_CATALOG for StAX processing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: xml
    • Subcomponent:
    • Introduced In Version:
      9

      Description

      USE_CATALOG is set to true. The supplied catalog file is approached and resolves to 'error.dtd' which is non-existent and it is expected to throw IO exception. But the missing error.dtd is not lookup in the filesystem and hence the exception is not thrown.
      This is not the case with SAX or DOM. The same test scenario passes for both these processors.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joehw Joe Wang
              Reporter:
              pchinnasamy Prabushankar Chinnasamy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: