Bug Tracker

Modify

Ticket #2901 (closed bug: duplicate)

Opened 5 years ago

Last modified 3 years ago

FF3 changes how getElementsByTagName works for XML namespaces

Reported by: dalangalma Owned by:
Priority: minor Milestone: 1.2.4
Component: core Version: 1.2.3
Keywords: Cc:
Blocking: Blocked by:

Description

Check out  https://bugzilla.mozilla.org/show_bug.cgi?id=414612. Basically, in FF2, getElementsByTagName for xml elements with a namespace (like "abc:TheTag") would return those elements if you called getElementsByTagName("TheTag"). In FF3, you get nothing for that call - instead you must call getElementsByTagName("abc:TheTag"), like in IE.

Here's how it affects jQuery:  http://brh.numbera.com/experiments/browserdemos/firefox-bug-414612-jquery.html

It used to be that you could get the namespaced xml elements by saying $('TheTag', data), but now there's no way at all to get at those namespaced items.

This is related to jQuery issue #155 and #1826

Change History

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

Cause is the same as #1826 so I'm closing this as a dup.

comment:2 Changed 3 years ago by dmethvin

Duplicate of #1826.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.