This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) 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

XML parsing error on IE

Pablo M�ller
Ranch Hand

Joined: Dec 12, 2006
Posts: 63
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.

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: 408
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.
It is sorta covered in the JavaRanch Style Guide.
subject: XML parsing error on IE
jQuery in Action, 3rd edition