Hi, Please provide the HTML that is failing and the iText and XmlWorker version numbers. If the versions are not the most recent ones (5.4.4) please upgrade and try again.
Without those, we can only guess. And going from the error message my guess would be: "Your HTML is invalid." Kind regards, Michaƫl. Op 24/09/2013 13:51, Vani Bose schreef: > Hi, > We use iTextSharp tool to generate pdf from html. We get an error if we > enter < symbol in a text box and the html is converted to pdf. > *Invalid nested tag tr found, expected closing tag td. at > iTextSharp.tool.xml.XMLWorker.EndElement(String tag, String ns) at > iTextSharp.tool.xml.parser.XMLParser.EndElement() at > iTextSharp.tool.xml.parser.state.ClosingTagState.Process(Char character) > at iTextSharp.tool.xml.parser.XMLParser.ParseWithReader(TextReader > reader) at iTextSharp.tool.xml.parser.XMLParser.Parse(TextReader reader) > at iTextSharp.tool.xml.XMLWorkerHelper.ParseXHtml* > How can this be fixed? > Thanks, > Vani. > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > > > > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php