Opened 15 years ago
Closed 13 years ago
#4221 closed bug
In Opera when jQuery code is inserted into XSLT stylesheet it won't be executed
Reported by: | wolfgke | Owned by: | wolfgke |
---|---|---|---|
Priority: | major | Milestone: | 1.3.2 |
Component: | core | Version: | 1.3.2 |
Keywords: | xslt jquery | Cc: | |
Blocked by: | Blocking: |
Description
The following code XSLT stylesheet did not work with jQuery 1.3.1 in Firefox 3.0, Safari and Chrome 1.0. In Version 1.3.2 it does (so it was indeed a bug fixed by the jQuery team from 1.3.1 to 1.3.2).
Unluckily it still does not work in Opera 9.63.
For your explanation: the file file.xml is a very simple XML file to which style.xml is applied.
style.xml converts file.xml to XHTML code. This XML code contains a little call to jQuery
$(document).ready(function() {
alert("Hello world!");
});
for testing purposes.
As I already told you above: in jQuery 1.3.1 this did *not* work in Firefox 3.0, Safari and Chrome 1.0. In jQuery 1.3.2 it does.
But in jQuery 1.3.2 it still does not work in Opera 9.63.
For you to convince yourself that the bug lies in jQuery I created two files file2.xml and style2.xml which are doing similar stuff - but without using jQuery. This time it works in Opera 9.63.
Attachments (5)
Change History (9)
Changed 15 years ago by
Changed 15 years ago by
The XSLT stylesheet to apply to file.xml. The result contains jQuery code
Changed 15 years ago by
Attachment: | file2.2.xml added |
---|
another simple XML file for which the XSLT stylesheet style2.xml is applied. The result contains no jQuery code and is to convince you that the problem lies in jQuery
Changed 15 years ago by
Attachment: | style.xslt added |
---|
The XSLT stylesheet to apply to file.xml. The result contains jQuery code
Changed 15 years ago by
Attachment: | style2.xslt added |
---|
XSLT stylesheet which is to apply to file2.xml. The result contains no jQuery code and is to convince you that the problem lies in jQuery
comment:1 Changed 15 years ago by
Sorry: I uploaded file2.xml 2 times. Only the second description is correct.
comment:2 Changed 14 years ago by
Component: | unfilled → core |
---|
comment:3 Changed 13 years ago by
Owner: | set to wolfgke |
---|---|
Status: | new → pending |
As this is so old, would you mind verifying that the problem still exists in 1.4.3? Thanks.
comment:4 Changed 13 years ago by
Status: | pending → closed |
---|
Automatically closed due to 14 days of inactivity.
a simple XML file for which the XSLT stylesheet is applied. The result contains jQuery code