 <p>Your best choice is really to fake all "not interesting" schemas. </p> <p>Or you can add your own ErrorListener and carefully analyze the errors to determine the schema they relate to. But this might not be full proof since there can be "other schema"-related errors that stop the validation.</p>