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.