replace & with &
----- Original Message ----- 
From: "Andreas Schlegel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 8:35 PM
Subject: Is it a problem to parse values containing '&' -?


> Hi,
> 
> reading a XML string with SAXParser.class to generate an DOM (JDOM) I
> get the following SAXParseException:
> org.xml.sax.SAXParseException: The reference to entity "W" must end with
> 
> the ';' delimiter.
> 
> This happens if I parse a string containing values like this one:
> <comp>B&W</comp>
> 
> But what can I do handle the problem?
> 
> Greetings,
> Andreas
> 
> 
> Environment:
> xerces-j: build 11/15/2001
> jdk 1.3.1.1
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to