Re: [iText-questions] XfdfReader.getField(String) and values containing blank lines (solved)

2009-07-16 Thread Paul Gatewood
--- >> From: Paul Gatewood [mailto:gate...@onr.navy.mil] >> Sent: Thursday, July 16, 2009 3:06 PM >> To: itext-questions@lists.sourceforge.net >> Subject: Re: [iText-questions] XfdfReader.getField(String) >> and values containing blank lines (solved) >> >

Re: [iText-questions] XfdfReader.getField(String) and values containing blank lines (solved)

2009-07-16 Thread Paulo Soares
You should escape other chars like <>", not only the LF. Paulo > -Original Message- > From: Paul Gatewood [mailto:gate...@onr.navy.mil] > Sent: Thursday, July 16, 2009 3:06 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] XfdfRead

Re: [iText-questions] XfdfReader.getField(String) and values containing blank lines (solved)

2009-07-16 Thread Paul Gatewood
I see the change was made to com.lowagie.text.xml.simpleparser to skip all but the first character in a string of whitespace characters, using the boolean nowhite flag. I am now replacing all newlines in values with the string " " when writing the xfdf file and now getField() returns the value

[iText-questions] XfdfReader.getField(String) and values containing blank lines

2009-07-16 Thread Paul Gatewood
In an xfdf file I have multi-line values which include blank lines. Up until iText 2.1.4 these were being retrieved fine by XfdfReader.getField, but starting with iText 2.1.5, the blank lines are being removed. I reviewed the release notes for 2.1.5 but could not find any reference to a chang