We have some code that works fine in IE6 but does not seem to work in IE7.
When I do a
request.responseText
I can see the contents of my XML. However when I try to retrieve the contents using
request.responseXML
I get no data. I then checked to see if I was getting any errors and found the following
request.responseXML.parseError.errorCode = -1072896681
request.responseXML.parseError.reason = Invalid xml declaration
Further searching on the error in Google did not get me very far.
The XML that I'm testing with is pretty simple and is a subset of the full xml. I can't figure out what is wrong with it as I can open the XML in a browser if I click on it directly.
<?xml version="1.0" encoding="ISO-8859-1"?>
<VEHICLES><FOUND>50</FOUND><LIMIT>50</LIMIT></VEHICLES>
I?m hoping someone can help or direct me to another forum where I could find some help.
When I do a
request.responseText
I can see the contents of my XML. However when I try to retrieve the contents using
request.responseXML
I get no data. I then checked to see if I was getting any errors and found the following
request.responseXML.parseError.errorCode = -1072896681
request.responseXML.parseError.reason = Invalid xml declaration
Further searching on the error in Google did not get me very far.
The XML that I'm testing with is pretty simple and is a subset of the full xml. I can't figure out what is wrong with it as I can open the XML in a browser if I click on it directly.
<?xml version="1.0" encoding="ISO-8859-1"?>
<VEHICLES><FOUND>50</FOUND><LIMIT>50</LIMIT></VEHICLES>
I?m hoping someone can help or direct me to another forum where I could find some help.