Skip to main content

Bug Tracker

Side navigation

#2901 closed bug (duplicate)

Opened May 20, 2008 03:57AM UTC

Closed November 13, 2010 07:15PM UTC

Last modified November 13, 2010 07:15PM UTC

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:
Blocked by: Blocking:
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

Attachments (0)
Change History (2)

Changed November 13, 2010 07:15PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

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

Changed November 13, 2010 07:15PM UTC by dmethvin comment:2

Duplicate of #1826.