Hi Pascal, Thanks for your help.
With Regards Bhaskar -----Original Message----- From: Pascal Sancho [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 4:13 PM To: [EMAIL PROTECTED] Subject: RE: How to handle &in fop Hi, following XML entities should be used when needed: & (&) < (<) > (>) ' (') " (") regards, Tcho -----Message d'origine----- De : Thorbjørn Ravn Andersen [mailto:[EMAIL PROTECTED] Envoyé : jeudi 10 juin 2004 11:24 À : [EMAIL PROTECTED] Objet : Re: How to handle &in fop [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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]