JDK-8162435 : Resolver set on SchemaFactory not inherited by the Validator
  • Type: Bug
  • Component: client-libs
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2016-07-23
  • Updated: 2016-07-29
  • Resolved: 2016-07-29
Related Reports
Relates :  
Description
Sets a resolver on SchemaFactory, get a Validator object from the factory. The resolver is not passed onto the Validator. Similar situation happens with ErrorHandler.

Workaround: set them on the Validator directly.
Comments
When a new SchemaFactory object is created, initially this field is set to null. This field will NOT be inherited to Schemas, Validators, or ValidatorHandlers that are created from this SchemaFactory.
29-07-2016