Bug Tracker

Modify

Ticket #3985 (closed bug: worksforme)

Opened 5 years ago

Last modified 2 years ago

bind() does not work in a page generated from XML with XSLT within browser (Firefox)

Reported by: Statc Owned by: Statc
Priority: low Milestone: 1.3.2
Component: event Version: 1.3.1
Keywords: xml, xslt, firefox, bind, selectors Cc:
Blocking: Blocked by:

Description

Please look at the attached files.

When I run XSLT transformation manually (using an XSLT processor) and open the resulting file in Firefox everything is Ok (two span's are colored).

When I open XML file in Firefox directly the second span is not colored.

When I use jQuery 1.2.6 everything works perfectly.

Firefox 3.0.5

Attachments

source.xml Download (105 bytes) - added by Statc 5 years ago.
Source XML file
stylesheet.xsl Download (746 bytes) - added by Statc 5 years ago.
XSLT stylesheet
script.js Download (120 bytes) - added by Statc 5 years ago.
JavaScript code
result.html Download (432 bytes) - added by Statc 5 years ago.
The file I get when applying XSLT transformation manually.
jquery-1.3.js Download (54.0 KB) - added by Statc 5 years ago.
jQuery 1.3.1

Change History

Changed 5 years ago by Statc

Source XML file

Changed 5 years ago by Statc

XSLT stylesheet

Changed 5 years ago by Statc

JavaScript code

Changed 5 years ago by Statc

The file I get when applying XSLT transformation manually.

Changed 5 years ago by Statc

jQuery 1.3.1

comment:1 Changed 5 years ago by dmethvin

Using all the files you provided, I am opening the source.xml with Firefox 3.0.5 and both spans are colored red. I get the same from result.html. Can you repro on some other system and see if the result you are getting is consistent?

comment:2 Changed 5 years ago by dmethvin

  • Owner set to flesler

CORRECTION: Your test case does fail for me in Firefox 3.0.5; it works properly in IE8 beta 2, which is what I was actually looking at.

comment:3 Changed 5 years ago by dmethvin

  • Component changed from unfilled to event

comment:4 Changed 3 years ago by snover

  • Owner changed from flesler to Statc
  • Status changed from new to pending

Can you please confirm this is still an issue with current versions of jQuery?

comment:5 Changed 3 years ago by Statc

  • Status changed from pending to new

jQuery 1.4.4 works fine in Firefox 3.0.5 In current Firefox 3.6.12 all of jQuery 1.4.4, 1.3.2, 1.2.6 work fine.

comment:6 Changed 3 years ago by jitter

  • Priority changed from major to low
  • Status changed from new to closed
  • Resolution set to worksforme

Closing as the reporter states it's working with current version of jQuery.

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.