Skip to main content

Bug Tracker

Side navigation

#3777 closed bug (worksforme)

Opened January 04, 2009 02:19PM UTC

Closed October 14, 2009 01:49AM UTC

IE6/7 unable to read xml documents using $.ajax

Reported by: kandrews Owned by:
Priority: major Milestone: 1.3
Component: unfiled Version: 1.2.6
Keywords: ajax, ie6, ie7, xml Cc:
Blocked by: Blocking:
Description

Built a simple photo gallery with XML and Jquery. Works Perfect in Firefox, and displays nothing in IE6/7. I have examined the produced code with FireBug, and it looks exactly as it should.

From the research I have found, it's either an issue with XML being called as ActiveX (which may not be a Jquery bug, just an issue with IE) or something with .html... I don't think that is the answer.

Attached is the source.

Attachments (4)
  • gallery.js (2.1 KB) - added by kandrews January 04, 2009 08:40PM UTC.
  • image_info.xml (1.0 KB) - added by kandrews January 05, 2009 12:17PM UTC.
  • xmlgallery.2.htm (1.5 KB) - added by kandrews January 04, 2009 05:18PM UTC.
  • xmlgallery.htm (1.5 KB) - added by kandrews January 04, 2009 05:18PM UTC.
Change History (8)

Changed January 04, 2009 07:23PM UTC by balazs.endre comment:1

Changed January 04, 2009 08:43PM UTC by kandrews comment:2

I accidentally added the same file twice. xmlgallery.htm and gallery.js should help out.

Changed January 04, 2009 10:19PM UTC by balazs.endre comment:3

As it's said in the link above jQuery can't really parse xml, "It's an HTML parser. Sure, it will do some kind of passable job of parsing

some kinds of XML, sort of, in some browsers."

Also, there's all the code you need!

Changed January 05, 2009 08:46AM UTC by balazs.endre comment:4

Sorry, I just noticed that with xml datatype it should really work.

Maybe the xml document itself would help the most to identify the problem.

Changed January 05, 2009 12:19PM UTC by kandrews comment:5

The reason for the ticket, in my opinion, is the fact that they have a $.ajax function that is supposed to read from XML files. If it doesn't read it cross-browser, then it appears to be a bug to me. I haven't had a chance, but I will try the parseXml function from the above link, but I'm not sure it's doing what I want here.

Changed January 05, 2009 12:55PM UTC by balazs.endre comment:6

I tried your code as it is and for me it works in IE as well! Maybe you have ActiveX turned off, so ajax request aren't possible that way. But if you post it on the mailing list more people could help :)

http://groups.google.com/group/jquery-en

Changed January 05, 2009 01:07PM UTC by kandrews comment:7

Thanks for your help.

Changed October 14, 2009 01:49AM UTC by dmethvin comment:8

resolution: → worksforme
status: newclosed

Closed, working.