-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday, November 20, 2005 11:30 AM, Neil Aggarwal
<mailto:[EMAIL PROTECTED]> wrote:

> Hello:
> 
> One of the web services I am integrating with is generating an
> XML response that contains this:
> 
> <SKU>25544520050&amp</SKU>
> 
> When I try to use the Xerces parse to parse it, I get this error:
> 
> [Fatal Error] :1:21: The reference to entity "amp" must end
> with the ';'
> delimiter.
> Exception in thread "main" org.xml.sax.SAXParseException: The reference to
> entity "amp" must end with the ';' delimiter.
>       at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)    at
> org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>       at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
>       at ParseTest.main(ParseTest.java:11)
> 
> Is there a way to override this behavior and force the parser to just
> take the input as text? 
> 
> Thanks,
>       Neil
<SKU>25544520050&amp;amp</SKU>


- -- 
Jim McMaster
mailto:[EMAIL PROTECTED]



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.3 (Build 2932)

iQA/AwUBQ4DJVGaP5l7/atSJEQJ9fgCgqBaRZkSNqCsKyMjUBQFkqX1nnQQAn0sb
4qiA+0/yf7xTB6QyqOkNm/9O
=Bd+Z
-----END PGP SIGNATURE-----

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

Reply via email to