Gentlemen,
I've noticed a little glitch recently: ALPS xml output is no longer displayed properly in the Firefox browser [I'm using FF 3.0.11 and 3.5 "Shiretoko"]. For in.xml files, which just list the task xml files, I get a blank page, while for the task*.out.xml files I have the contents but no formatting whatsoever, so that everything is displayed as a single line... Is it just my problem or is anybody else having this one too? And maybe somebody knows a fix or a workaround? I'm not sure if it is anyhow related to the address < http://xml.comp-phys.org/2003/8/job.xsd%3E in the header of alps xml files returning 404 Not Found error.
Cheers,
Zhenya
On Sep 8, 2009, at 3:42 PM, Evgeny Burovskiy wrote:
Gentlemen,
I've noticed a little glitch recently: ALPS xml output is no longer displayed properly in the Firefox browser [I'm using FF 3.0.11 and 3.5 "Shiretoko"]. For in.xml files, which just list the task xml files, I get a blank page, while for the task*.out.xml files I have the contents but no formatting whatsoever, so that everything is displayed as a single line... Is it just my problem or is anybody else having this one too? And maybe somebody knows a fix or a workaround? I'm not sure if it is anyhow related to the address <http://xml.comp-phys.org/2003/8/job.xsd
in the header of alps xml files returning 404 Not Found error.
Cheers,
Zhenya
Zhenya,
this is a security feature of Firefox that does not allow you to use local stylesheets. Essentially it makes Firefox 3 useless for ALPS. Install Firefox 2 or another web browser. The xsd URL you refer to does not have to point to a valid address. In any case I put an xsd file there now, but I don't think that will change anything. Have you tried asking the firefox people for hep?
Matthias
Matthias Troyer writes:
On Sep 8, 2009, at 3:42 PM, Evgeny Burovskiy wrote:
Gentlemen,
I've noticed a little glitch recently: ALPS xml output is no longer displayed properly in the Firefox browser [I'm using FF 3.0.11 and 3.5 "Shiretoko"]. For in.xml files, which just list the task xml files, I get a blank page, while for the task*.out.xml files I have the contents but no formatting whatsoever, so that everything is displayed as a single line... Is it just my problem or is anybody else having this one too? And maybe somebody knows a fix or a workaround? I'm not sure if it is anyhow related to the address <http://xml.comp-phys.org/2003/8/job.xsd > in the header of alps xml files returning 404 Not Found error.
Cheers,
Zhenya
Zhenya,
this is a security feature of Firefox that does not allow you to use local stylesheets. Essentially it makes Firefox 3 useless for ALPS. Install Firefox 2 or another web browser. The xsd URL you refer to does not have to point to a valid address. In any case I put an xsd file there now, but I don't think that will change anything. Have you tried asking the firefox people for hep?
Matthias
Matthias,
There seems to be a lot of discussion about these issues on the firefox bugzilla, but it's way above my head.
There are, it turns out, two workarounds which help. First, as suggested here: http://kb.mozillazine.org/Security.fileuri.strict_origin_policy swiching this security.fileuri.strict_origin_policy to false works. I have no idea how big of a security hole this creates (maybe you can advise me on that?). I'd personally love to have an explicit exception for ALPS files, and there is a knowledge base article for that: http://kb.mozillazine.org/Links_to_local_pages_don%27t_work But I failed to have it work.
Another workaround is to simply run use_local_stylesheet, which creates a copy of ALPS.xsl in the same directory as the xml file :).
Zhenya
On Sep 17, 2009, at 1:20 AM, Evgeny Burovskiy wrote:
Matthias Troyer writes:
On Sep 8, 2009, at 3:42 PM, Evgeny Burovskiy wrote:
Gentlemen, I've noticed a little glitch recently: ALPS xml output is no longer displayed properly in the Firefox browser [I'm using FF 3.0.11 and 3.5 "Shiretoko"]. For in.xml files, which just list the task xml files, I get a blank page, while for the task*.out.xml files I have the contents but no formatting whatsoever, so that everything is displayed as a single line... Is it just my problem or is anybody else having this one too? And maybe somebody knows a fix or a workaround? I'm not sure if it is anyhow related to the address <http://xml.comp-phys.org/2003/8/job.xsd
in the header of alps xml files returning 404 Not Found error.
Cheers, Zhenya
Zhenya, this is a security feature of Firefox that does not allow you to use local stylesheets. Essentially it makes Firefox 3 useless for ALPS. Install Firefox 2 or another web browser. The xsd URL you refer to does not have to point to a valid address. In any case I put an xsd file there now, but I don't think that will change anything. Have you tried asking the firefox people for hep? Matthias
Matthias, There seems to be a lot of discussion about these issues on the firefox bugzilla, but it's way above my head. There are, it turns out, two workarounds which help. First, as suggested here: http://kb.mozillazine.org/Security.fileuri.strict_origin_policy swiching this security.fileuri.strict_origin_policy to false works.
Yes, this is what is needed with Firefox 3
I have no idea how big of a security hole this creates (maybe you can advise me on that?). I'd personally love to have an explicit exception for ALPS files, and there is a knowledge base article for that: http://kb.mozillazine.org/Links_to_local_pages_don%27t_work But I failed to have it work.
This will not work unless you place your files on a server. This is meant for remote files accessing you local stylesheet, not for your local files accessing a local or remote stylesheet.
Another workaround is to simply run use_local_stylesheet, which creates a copy of ALPS.xsl in the same directory as the xml file :).
That's another solution
Matthias
comp-phys-alps-users@lists.phys.ethz.ch