extra linefeed when converting html to PDF - one work-around found
- From: "Ralf Hauser" <ralfhauser (at) gmx.ch>
- Date: Wed, 23 Aug 2006 16:32:18 +0200
Damien,
Thanks - this appears to work:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><body>
<br /><b>a</b>b
</body></html>
Ralf
> -----Original Message-----
> From: itext-questions-bounces@lists.sourceforge.net [mailto:itext-
> questions-bounces@lists.sourceforge.net] On Behalf Of Damien Drix
> Sent: Wednesday, August 23, 2006 3:24 PM
> To: hauser@acm.org; Post all your questions about iText here
> Subject: Re: [iText-questions] extra linefeed when converting html to PDF
>
> If you want to use make sure you have a DOCTYPE tag referencing
> the xhtml dtd, where this entity is declared.
>
> Ralf Hauser a Ãcrit :
> > org.xml.sax.SAXParseException: The entity "nbsp" was referenced, but not
> declared.
> > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> > at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> > at javax.xml.parsers.SAXParser.parse(SAXParser.java:311)
> >
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions