Bug Tracker

Ticket #1442 (closed bug: invalid)

Opened 2 years ago

Last modified 9 months ago

Exception in IE when accessing XML attribute

Reported by: john Assigned to: john
Type: bug 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

Attachments

Change History

Changed 2 years ago by john

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

Changed 2 years ago by john

  • owner set to john

Changed 2 years 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 2 years ago by john

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