Bug #4677
closed
JUnit Tests testMultipleSchemaImportsOn and testMultipleSchemaImportsOff in TestValidator
Category:
Schema-Aware processing
Applies to branch:
10, 9.9, trunk
Fix Committed on Branch:
10, 9.9, trunk
Fixed in Maintenance Release:
Description
These unit tests are currently failing in both 9.9 and 10.1. I'm not aware of any change that might have caused this but it could be a regression caused by a patch for some other bug.
The problem appears to be that a URIResolver set on the Configuration is not being used to resolve xs:import schemaLocation attributes.
The test passes in 9.8. In 9.8, the StandardSchemaResolver falls back to getting the Configuration's URIResolver during execution of the resolve() method. In 9.9 and 9.10, the StandardSchemaResolver gets the Configuration's URIResolver at the time the StandardSchemaResolver is instantiated, which is too early.
The change was made while fixing bug #4323.
- Status changed from New to Resolved
- Applies to branch 10, 9.9, trunk added
- Fix Committed on Branch 10, 9.9, trunk added
- % Done changed from 0 to 100
- Fixed in Maintenance Release 10.2 added
Bug fix applied in the Saxon 10.2 maintenance release.
- Status changed from Resolved to Closed
- Fixed in Maintenance Release 9.9.1.8 added
Bug fix applied on the Saxon 9.9.1.8 maintenance release.
Please register to edit this issue
Also available in: Atom
PDF