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

Fix USE_CATALOG for StAX processing test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 9
    • xml
    • None
    • 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.

            pchinnasamy Prabushankar Chinnasamy
            pchinnasamy Prabushankar Chinnasamy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: