}
catch (SAXException e)
{
// either no longer supported (SAXNotSupportedException), or no logner recognized (SAXNotRecognizedException)
log.error(filtersPropName + " is, unexpectedly, no longer defined for the cyberneko HTML parser",e);
throw new RewriterException("cyberneko parser version not supported",e);
}
try
{
// parse from reader
parser.parse(new XMLInputSource( null, null, null, reader, null )) ;
}
catch (IOException e)
{
String msg = "cyberneko HTML parsing failure";
log.error(msg,e);
throw new RewriterException(msg,e);
}
}