JDK-8167616 : Fix USE_CATALOG for StAX processing test
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2016-10-12
  • Updated: 2016-10-12
  • Resolved: 2016-10-12
Related Reports
Cloners :  
Relates :  
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.