public boolean validateAgainstXsdFile ( String xsdFileName ) { String xsdContent = new FileFixture ( ) . textIn ( xsdFileName ) ; return new XMLValidator ( ) . validateAgainst ( content , xsdContent ) ; }
Validate the loaded xml against a schema in file xsdFileName