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.
This is not the case with SAX or DOM. The same test scenario passes for both these processors.
- clones
-
JDK-8167072 Inconsistent behavior with USE_CATALOG for StAX processing
-
- Closed
-
- relates to
-
JDK-8166220 Catalog API: JAXP XML Processor Support - add StAX test coverage
-
- Resolved
-