...

View Full Version : Firefox 3 does not support XSL



Rocko
07-12-2008, 10:06 PM
Hi,

Recently I tried FF3 and I found it does not support XSL.

Have you experienced it? Do you know why?

jkd
07-13-2008, 01:13 AM
Mozilla has supported XSLT since before Firefox ever existed. Be sure it is served with the proper mime-types.

Rocko
07-13-2008, 02:19 AM
It is not Mozilla but FF3, because FF2 works fine with a W3C certified code style sheet(XSL based in a XHTML 1.0 strict).

I am thinking it may be a kind of directory restriction. However, my understanding of standards, including Moz developer docs, says XSLT most support the structure concept of CSS, where it does not mather where is html and where its CSS.

FF3 does not complain with it.

If it is not a bug but a security protection, end user needs to be adviced, with the chance to modify such restriction.

Alex Vincent
07-13-2008, 07:44 PM
Rocko, can you point to some evidence (source code) that demonstrates this?

Rocko
07-13-2008, 07:58 PM
1. Create an XML file with its XLS.

3. Save the first in directory/subdirectory1/file.xml and the second in directory/subdirectory2/file.xsl

4. Check with any browser but FF3 (Including FF2) to be sure that works.

5. Try FF3 (It will fail) and check the error console, there you will see a security error.

The same problem is with Frames and JavaScript, there is no cross frame communication.

oesxyl
07-14-2008, 10:48 AM
1. Create an XML file with its XLS.

3. Save the first in directory/subdirectory1/file.xml and the second in directory/subdirectory2/file.xsl

4. Check with any browser but FF3 (Including FF2) to be sure that works.

5. Try FF3 (It will fail) and check the error console, there you will see a security error.

The same problem is with Frames and JavaScript, there is no cross frame communication.
please post two files, xml and xslt, what don't work for you, and if is not obvious what you expect to be and is not.

regards

Rocko
07-14-2008, 03:02 PM
please post two files, xml and xslt, what don't work for you, and if is not obvious what you expect to be and is not.

I may prefer to know your experience reproducing the issue.

I may be doing something wrong, perhaps the error is because an entire URL is required (I mad a test where it worked) or it simply needs a Web server to complain with the standard.

Alex Vincent
07-14-2008, 05:44 PM
*sigh* Rocko, I work with Firefox code on a daily basis. If there truly is a bug in Firefox 3's handling of XSLT, we're going to need the files you are using to reproduce the bug. You've been asked multiple times for that now, and the XML forum rules clearly state it's a requirement: http://www.codingforums.com/showthread.php?t=101113

Alternatively, you could file a bug on https://bugzilla.mozilla.org/, but I guarantee you they'll want you to post a testcase.

You mention a security error... what error is that?

Rocko
07-14-2008, 06:03 PM
Fine, I will prepare some code.

I wanted that you make your own because some times it is a configuration issue, a new feature with a logical explanation or even a personal mistake, in fact, that is the reason to write a post, but no one want to try.

binaryWeapon
07-15-2008, 01:33 AM
Prepare some code? I thought you had some evidence which you were basing your claim on? Why would you need to prepare code... Just post whatever evidence you have already run across. No need to create a new one.

jkd
07-15-2008, 02:43 PM
I bet TNO nailed it on the head with this observation:
http://codingforums.com/showpost.php?p=711622&postcount=5

Rocko
07-16-2008, 12:25 AM
Here is the explanation and how to work around it:

http://forums.mozillazine.org/viewtopic.php?f=25&t=737645&p=3853735



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum