Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12
  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    36
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Firefox 3 does not support XSL

    Hi,

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

    Have you experienced it? Do you know why?

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Mozilla has supported XSLT since before Firefox ever existed. Be sure it is served with the proper mime-types.

  • #3
    New Coder
    Join Date
    Feb 2007
    Posts
    36
    Thanks
    7
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,461
    Thanks
    1
    Thanked 23 Times in 21 Posts
    Rocko, can you point to some evidence (source code) that demonstrates this?
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #5
    New Coder
    Join Date
    Feb 2007
    Posts
    36
    Thanks
    7
    Thanked 0 Times in 0 Posts
    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.

  • #6
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Rocko View Post
    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

  • #7
    New Coder
    Join Date
    Feb 2007
    Posts
    36
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by oesxyl View Post
    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.
    Last edited by Rocko; 07-14-2008 at 04:18 PM.

  • #8
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,461
    Thanks
    1
    Thanked 23 Times in 21 Posts
    *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?
    Last edited by Alex Vincent; 07-14-2008 at 06:49 PM.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #9
    New Coder
    Join Date
    Feb 2007
    Posts
    36
    Thanks
    7
    Thanked 0 Times in 0 Posts
    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.

  • #10
    Regular Coder
    Join Date
    Sep 2007
    Location
    AZ, USA
    Posts
    685
    Thanks
    6
    Thanked 46 Times in 46 Posts
    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.

  • #11
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    I bet TNO nailed it on the head with this observation:
    xslt caching?

  • #12
    New Coder
    Join Date
    Feb 2007
    Posts
    36
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Here is the explanation and how to work around it:

    http://forums.mozillazine.org/viewto...7645&p=3853735


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •