It might help if you gave us at least an approximation of the full block of HTML that was being parsed.
-Matt --- "Dunstall, Christopher" <[EMAIL PROTECTED]> wrote: > Anyone? :) Pretty Please? ;) > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Chris Dunstall > Analyst Programmer > > Admin Computing > Bathurst Campus > Charles Sturt University > > E-Mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > Phone: +61 2 63384818 > Fax: +61 2 63384181 > Mobile: +61 0438 324 180 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of > Dunstall, Christopher > Sent: Monday, 12 January 2004 5:33 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] HTML to PDF Question... > Importance: High > > > Hi all, I'm in urgent need of help. > > I'm trying to write a PDF from information in a > database. > > Two of the fields contain HTML, so when I call the > HtmlParser it's like > this: > > HtmlParser.parse( document, dataObject.getField1() > ); > > When I run it, I get the following exception: > > ExceptionConverter: java.net.MalformedURLException: > no protocol: > <P><STRONG>Related course structure</STRONG><BR>The > quick brown fox > jumps over<BR>The quick pink fish jumps over the > dolphin's nose</P> > void oracle.xml.parser.v2.XMLError.flushErrors1() > XMLError.java:178 > void > oracle.xml.parser.v2.XMLReader.pushXMLReader(org.xml.sax.InputSource) > XMLReader.java:211 > void > oracle.xml.parser.v2.XMLParser.parse(org.xml.sax.InputSource) > XMLParser.java:146 > void > oracle.xml.jaxp.JXSAXParser.parse(org.xml.sax.InputSource, > org.xml.sax.helpers.DefaultHandler) > JXSAXParser.java:286 > void > javax.xml.parsers.SAXParser.parse(java.lang.String, > org.xml.sax.helpers.DefaultHandler) > void > com.lowagie.text.html.HtmlParser.go(com.lowagie.text.DocListener, > java.lang.String) > void > com.lowagie.text.html.HtmlParser.parse(com.lowagie.text.DocListener, > java.lang.String) > > Does anyone know what it means by no protocol? > > Thanks in advance. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Chris Dunstall > Analyst Programmer > > Admin Computing > Bathurst Campus > Charles Sturt University > > E-Mail: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > Phone: +61 2 63384818 > Fax: +61 2 63384181 > Mobile: +61 0438 324 180 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
