Bug Tracker

Ticket #1442 (closed bug: invalid)

Opened 16 months ago

Last modified 7 weeks ago

Exception in IE when accessing XML attribute

Reported by: john Owned by: john
Priority: major Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Needs: Review

Description

Occurs with the following XML file: http://www.xqus.com/phpsysinfo/xml.php

and the following code:

  version = $("Generation", xml).attr("version"); 
  $("#version").append(version);

full demo: http://www.xqus.com/phpsysinfo/ajax.php

Change History

Changed 16 months ago by john

  • summary changed from Exception when accessing XML attribute to Exception in IE when accessing XML attribute

Changed 16 months ago by john

  • owner set to john

Changed 16 months ago by john

Ok, so the issue was that there was an element in the page that had the same ID as the version variable - but version was never defined, so an exception was being thrown when it was being set. This is a case where something in the FAQ might help.

Changed 16 months ago by john

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.