[Fckitext-support] HTML to PDF
Status: Beta
Brought to you by:
vungoctan
|
From: Luiz F. R. <lfr...@te...> - 2004-06-28 20:17:52
|
Dear Taa Boo, I'm using your handler but I'm not having success in making SaxParser work with it. I think the problem is with the DocType that tidy writes into its output file. Please, where can I find the Tidy documentation of the .jar you are using with Html2PDF example? When I remove the DocType tag from Tidy's output I get an exception complaining about the kind of String the parser receives: java.lang.NumberFormatException: For input string: "+3" at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:658) at org.apache.crimson.parser.Parser2.parse(Parser2.java:333) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at javax.xml.parsers.SAXParser.parse(SAXParser.java:223) at TesteHandlerKoreano.main(TesteHandlerKoreano.java:67) For input string: "+3" Is there any way to make the SaxParser ignore these inputs? Thanks, Luiz --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.710 / Virus Database: 466 - Release Date: 23/6/2004 |