Hello; If this is not an appropriate forum for this please let me know.
I would like to use tidy to clean up some input before I render my document with FOP. I am getting the following error: org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:307) Anyone seen this before? Below is the code for anyone that is interested. Thanks, Luke private String htmlTidy(String html) { try { StringBufferInputStream sbis=new StringBufferInputStream(html); ByteArrayOutputStream baos=new ByteArrayOutputStream(); Tidy tidy = new Tidy(); Trace.ENTER("FOP PDF: Tidy object created."); //configure tidy tidy.setQuiet(true); tidy.setShowWarnings(false); tidy.setXmlOut(false); tidy.setXHTML(true); tidy.setMakeClean(false); tidy.setTidyMark(false); tidy.setUpperCaseTags(false); tidy.setUpperCaseAttrs(false); tidy.setQuoteAmpersand(false); tidy.setNumEntities(true); tidy.setCharEncoding(Configuration.UTF8); Trace.ENTER("FOP PDF: Tidy object configured."); tidy.parse(sbis,baos); Trace.ENTER("FOP PDF: Tidy parsing complete."); html = baos.toString(); } catch (Exception e) { Trace.ENTER("FOP PDF: TIDY ERROR!!!!!!!!! " + e); } return html; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]