Skip to main content

Bug Tracker

Side navigation

#9361 closed bug (invalid)

Opened May 20, 2011 09:12AM UTC

Closed May 20, 2011 04:49PM UTC

Last modified March 09, 2012 04:21AM UTC

retrieving XML from XML Document not working in ie9

Reported by: Owned by:
Priority: low Milestone:
Component: manipulation Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

When trying to retrieve the xml string for an element, the code which was working in ie8 does not work with ie9

    var pid = $(this).find('PersonId').text();
    myData[i] = {   id:$(this).find('PersonId').text(), 
                    name:$(this).find('Name').text(),                                                  dob:$(this).find('BirthDate').text(),
                personsArray[pid] = $(this)[0].xml;

$(this)[0].xml was returns the full XML string in compatibility mode but when using ie9 mode the result is 'undefined'.

testes in 1.6.1 and 1.5.2 with same results

Attachments (0)
Change History (4)

Changed May 20, 2011 03:19PM UTC by dmethvin comment:1

owner: →
status: newpending

This needs a complete test case. Is XMLData a string or is it an XML document? The i variable isn't really a global, is it?

Changed May 20, 2011 04:21PM UTC by anonymous comment:2

Changed May 20, 2011 04:49PM UTC by timmywil comment:3

component: unfiledmanipulation
priority: undecidedlow
resolution: → invalid
status: pendingclosed

This is not a jQuery core issue, but a browser issue that we do not support. There are other ways to retrieve what you are after that will work across browsers.

Changed May 23, 2011 07:04AM UTC by comment:4

Thanks for the response, but this solution still does not work with IE9 unless in compatibility mode. Do you have a date on when IE9 will be supported?