there may not be a short cut method as XML is already built,

but one can look for suspected tags (using StringTokenizer etc) and replace
"&" with "&amp".

thanks
venu

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 2:46 PM
To: [EMAIL PROTECTED]
Subject: Parsing failures with '&'


We have a situation where a client has the ampersand character in product
descriptions submitted to us in XML.  For a fictious example, assume
<description>M & M</description>.  The crimson parser fails with "Illegal
character or entity reference syntax".

Is there anyway around this problem short of writing a replacement script
before sending it to the parser?

Thanks in advance.

Scott


---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to