Class JAXPValidator

java.lang.Object
org.xmlunit.validation.Validator
org.xmlunit.validation.JAXPValidator

public class JAXPValidator extends Validator
Validator using the javax.xml.validation namespace.

An implementation detail of javax.xml.validation.Validator leaks into this class: any xsi:schemaLocation or xsi:noSchemaLocation attribute of the instance document will be ignored if any schema source has been set. This means you must either specify all sources or none of them to successfully validate instances.