XML Parser

C. David Shaffer cdshaffer at acm.org
Thu Feb 24 13:56:32 UTC 2005


Daria Spescha wrote:

> Hi!
>  
> I'm using the Soap Stuff to call webservices and this uses the 
> XMLDOMParser to parse the response. This works well normally. But as 
> soon as there is a carriage return (
) somewhere in the response, 
> the result returned by call invoke contained an error message: 
> SAXParseException: XML expected. The parser doesn't seem to able to 
> handle carriage returns although 
 is XML 1.0 compliant. What is 
> wrong? Where would I have to change this?
>  
> Thanks!
> Daria
>
>------------------------------------------------------------------------
>
>
>  
>
Not sure...maybe XMLTokenizer>>initEntities.  I override it in 
SeasideTesting to add nbsp.

David

-- 
C. David Shaffer
http://www.cs.westminster.edu/~shaffer
http://www.shaffer-consulting.com




More information about the Squeak-dev mailing list