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

Inconsistent behavior with USE_CATALOG for StAX processing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 9
    • xml
    • 9

      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.

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

              Created:
              Updated:
              Resolved: