*
The moose likes HTML, CSS and JavaScript and the fly likes XML parsing error on IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "XML parsing error on IE" Watch "XML parsing error on IE" New topic
Author

XML parsing error on IE

Pablo M�ller
Ranch Hand

Joined: Dec 12, 2006
Posts: 63
Hi,
I have an application with some ajax functions. In one of these the servers answer something like this:



So this is evaluated like this:



This works ok on firefox, but on IE it fails. I've been debugging it fails when this is present:



If you take a look, there is some javascrip in there which is evaluated later. Is there something wrong with the XML? Or is it a problem of the internet explorer?

Thanks for you time.
Pablo.


2B || !2B
Pablo M�ller
Ranch Hand

Joined: Dec 12, 2006
Posts: 63
It's done..
It was because of this:

Calefon para 2 ba�eras a la vez

The problem was in the �. I guess Bill never expected some who speaks Spanish to parse an XML .
Roger F. Gay
Ranch Hand

Joined: Feb 16, 2007
Posts: 396
I had a problem like that with Swedish. I changed the charset for the page to ISO-8859-1. It worked for Swedish. I don't know what works for Spanish. But I did a google search on the word donde, and found examples with both ISO-8859-1 and utf-8.

Going back to my old website work (Swedish), I see that I used utf-16; I don't know why 16; 8 probably would have been sufficient. I also realized that � shows up in this page alright. It uses the ISO-8859-1 charset.
[ April 26, 2007: Message edited by: Roger F. Gay ]

Correlation does not prove causality.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML parsing error on IE