validateAgainstXsd
public void validateAgainstXsd(java.io.File xmlFile,
ValidationResult validationResult)
throws java.io.IOException,
org.xml.sax.SAXException,
ValidationException
Validates the given xmlFile with the xsd files and writes violations to
the given validation result
- Specified by:
validateAgainstXsd
in class AbstractXsdValidator
- Parameters:
xmlFile
- the xml file which should be validated
validationResult
- the result object of the validation
- Throws:
java.io.IOException
- when xmlFile can't be read
org.xml.sax.SAXException
- when validation process fails somehow
ValidationException
- thrown if checked file is not well-formed or does not have a valid encoding