public void start(Resource xmlFile,String saxParserCass) throws PageException {
  InputStream is=null;
  try {
    XMLReader xmlReader=XMLUtil.createXMLReader(saxParserCass);
    xmlReader.setContentHandler(this);
    xmlReader.setErrorHandler(this);
    xmlReader.parse(new InputSource(is=IOUtil.toBufferedInputStream(xmlFile.getInputStream())));
  }
 catch (  Exception e) {
    throw Caster.toPageException(e);
  }
 finally {
    IOUtil.closeEL(is);
  }
}

public void start ( Resource xmlFile , String saxParserCass ) throws PageException { InputStream is = null ; try { XMLReader xmlReader = XMLUtil . createXMLReader ( saxParserCass ) ; xmlReader . setContentHandler ( this ) ; xmlReader . setErrorHandler ( this ) ; xmlReader . parse ( new InputSource ( is = IOUtil . toBufferedInputStream ( xmlFile . getInputStream ( ) ) ) ) ; } catch ( Exception e ) { throw Caster . toPageException ( e ) ; } finally { IOUtil . closeEL ( is ) ; } }
start execution of the parser
