* Performs validation.
* @throws Exception Exception
*/
public void validate() throws Exception
{
VerifierFactory verifierFactory = new TheFactoryImpl();
Verifier verifier = verifierFactory.newVerifier( new File( schema ) );
verifier.setErrorHandler( new ErrorHandlerImpl() );
VerifierHandler handler = verifier.getVerifierHandler();
SAXParserFactory factory = SAXParserFactory.newInstance();