public void validateOutput() throws XmlParsingException, FileNotFoundException {
  XmlParser.parse(outputFile,new String[]{TTML_SCHEMA},TTML_PACKAGES,TtEltype.class);
}

public void validateOutput ( ) throws XmlParsingException , FileNotFoundException { XmlParser . parse ( outputFile , new String [ ] { TTML_SCHEMA } , TTML_PACKAGES , TtEltype . class ) ; }
validates output ttml and throw exception if not valid .
