LOG.info("nekohtml parser not found. If you want to parse non-wellformed HTML files, put nekohtml.jar into " + "directory lib/optional/");
LOG.error("Error while involing NekoHTML parser. ("+e.getMessage() +"). If you want to parse non-wellformed HTML files, put " +"nekohtml.jar into directory 'lib/optional'.", e); throw new XMLDBException(ErrorCodes.VENDOR_ERROR, "NekoHTML parser error", e);
    private void setupParser(Collection collection, LocalXMLResource res) throws XMLDBException {        if ( res.getMimeType().equals("text/html") ) {            try {                Class clazz = Class.forName( "org.cyberneko.html.parsers.SAXParser" );                XMLReader htmlReader = (XMLReader) clazz.newInstance();                collection.setReader( htmlReader );            } catch ( Exception e) {                LOG.info("nekohtml parser not found. If you want to parse non-wellformed HTML files, put nekohtml.jar into " +                        "directory lib/optional/");            }        }    }