Hi,
I am using the HTMLWorker to parse RSS feed entries.
Today, I got an unwanted NumberFormatException.
I traced it back to the static method lengthParse(String,int).
The implementation does detect the percentage suffix (%) but not "px"
After adding the statement below in class HTMLWorker, all worked fine.
if (txt.endsWith("px")){
return c;
}
I checked the latest revision (3117) of this class for recent changes
to prevent reporting an old issue.
--
Ernest Micklei
qnh.nl - professional
philemonworks.com - personal
"The Perfect is the Enemy of the Good Enough"
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/