/    Sign up×
Community /Pin to ProfileBookmark

IE9 > Returning different, undefined JSON response than every other browser

Hello,

Has anyone run into the issue when using a JSON call in IE8 (I thought it was IE9, but that was a forced IE8 standards in an IE9 test case) that the XML formed cannot be read? Or is read differently?

The JavaScript variables that should be populated by these values only return undefined in IE9.

Here is our sample response:

<?xml version=”1.0″ encoding=”UTF-8″?>
<result>
<id>MEDIA_ID</id>
<status>3</status>
<contenttype>text/plain</contenttype>
<filetype>4</filetype>
<context>1</context>
<filename/>
<injector>MediaService1</injector>
<hits>0</hits>
<message/>
<date>2012-01-26 11:29:26</date>
<title>thisisatitle</title>
<tags/>
<extension/>
<sender/>
<author/>
<metadata/>
<KEY>VALUE</KEY>
<uid>USER_ID</uid>
<filesize>0</filesize>
<ofilesize>0</ofilesize>
<upload>2012-01-26 11:29:26</upload>
<location>fmdevs3</location>
<originallocation/>
<privacy>0</privacy>
<moderationstatus>0</moderationstatus>
<width>0</width>
<height>0</height>
<length>0.00</length>
<conversiontime>0</conversiontime>
<converttime/>
<lastupdatetime>2012-01-26 11:29:26</lastupdatetime>
<offensive>0</offensive>
<autoblog>0</autoblog>
<rating>0</rating>
<votecount>0</votecount>
<externalid/>
<parentid>0</parentid>
<originalLocation/>
<user_name>USER_NAME</user_name>
<user_email>EMAIL_ADDRESS</user_email>
<user_country/>
<user_city/>
<user_state/>
<user_nickname/>
<user_firstname>FIRSTNAME</user_firstname>
<user_lastname>LASTNAME</user_lastname>
<url/>
<vhost>VHOST_ID</vhost>
<rotation>0</rotation>
<language/>
<channel>0</channel>
<channel_shortname/>
<channel_name/>
<channelleft>0</channelleft>
<geo_latitude/>
<geo_longitude/>
<originalsaved>1</originalsaved>
<hidden>SHOWN</hidden>
<commentcount>0</commentcount>
<approvedcomments>0</approvedcomments>
<notdeniedcomments>0</notdeniedcomments>
<publicUrl>http://fmdevs3.filemobile.com/storage/MEDIA_ID</publicUrl>
<thumbUrl>http://fmdev.s3.amazonaws.com/storage/MEDIA_ID</thumbUrl>
<moderationdeniedid>0</moderationdeniedid>
<conversions/>
<isLive>false</isLive>
</result>

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @_var spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...