Opened 13 years ago

Last modified 6 years ago

#9628 closed defect

dojo.attr not working on IE8 for xml dom node — at Initial Version

Reported by: juzzam Owned by: anonymous
Priority: high Milestone: 1.13
Component: HTML Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:


dojo.attr is not working for me on IE7/8 to retrieve an attribute from an xml dom node (with dojo 1.3).

I've isolated the problem to this code:


url: "/public/feed.xml", handleAs: "xml", load: function(xmldoc) { try{

var entry = dojo.query("entry", xmldoc)[0]; var linknode = dojo.query("link", entry)[0]; var url = dojo.attr(linknode, "href"); console.debug(url);

} catch(e){console.debug(e);}



On Safari and FF the console prints ""

On IE the dojo.attr() line throws this error:

message : Wrong number of arguments or invalid property assignment, number : -2146827838, description : Wrong number of arguments or invalid property assignment, name : TypeError?

I have the problem isolated and hosted it here:

The xml file is here:

Change History (1)

Changed 13 years ago by juzzam

Attachment: feed.xml added
Note: See TracTickets for help on using tickets.