Skip to main content

Bug Tracker

Side navigation

#6353 closed bug (invalid)

Opened March 25, 2010 12:54PM UTC

Closed March 26, 2010 03:04AM UTC

IE xml tag selector

Reported by: DriverX Owned by:
Priority: Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: selector, tag selector, tags, xml Cc:
Blocked by: Blocking:
Description

some.xml:

<?xml version="1.0" encoding="utf-8"?>

<test>

<item>

<image>

<src>IEbug1</src>

</image>

</item>

<item>

<image>

<src>IEbug2</src>

</image>

</item>

<item>

<image>

<src>IEbug3</src>

</image>

</item>

<item>

<image>

<src>IEbug4</src>

</image>

</item>

<item>

<image>

<src>IEbug5</src>

</image>

</item>

</test>

load and parse xml:

$.get("some.xml", function(data){

alert($(data).find("item").eq(0).find("image src").length); // need 1, but in IE length == 5

});

Attachments (0)
Change History (1)

Changed March 26, 2010 03:04AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Please do some further debugging, using the forum if needed: http://forum.jquery.com .

Most likely, your $.get from the server is returning a data type other than xml, in which case you cannot use $() to convert it to xml.