[EMAIL PROTECTED] wrote:

Hi everybody,

When the data contains ‘&’ like CUSTOMER_NAME= "L&G ASSURANCE SOCIETY LTD " fop is throwing the following error:

Caused By : javax.xml.transform.TransformerException : org.xml.sax.SAXParseExcep

tion: The reference to entity "G" must end with the ';' delimiter.

Can anybody help in handling the character ‘&’.

Use & instead.

To ensure that you always generate proper XML regardless of character set, you should change all characters above 127, and <, > and & to "&#numericvalue;" instead. The numeric value is the unicode value of the character.

--
 Thorbjoern Ravn Andersen      "...plus...Tubular Bells!"


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to