Closed
Bug 269863
Opened 20 years ago
Closed 19 years ago
XSLT-Stylesheet without XML-MIME-Typ
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
EXPIRED
People
(Reporter: m.pichlo, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0 I've created a xml document using a xsl file for html transformation. This document was working fine in firefox 1.0 PR2. Now I tried to use the same script in firefox 1.0 (final) and get the following error: Fehler beim Laden des Stylesheets Ein XSLT-Stylesheet hat keinen XML-MIME-Typ: ~Error while loading stylesheet. XSLT-Stylesheet without XML-MIME-Typ: I tried the followin: 1. upload the files and use it via http => no errors 2. download the englisch firefox and try the same file => no errors Reproducible: Always Steps to Reproduce: 1. Download and install the german translation of firefox 2. create the file test.xml <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> <produktnews> Neue Version des beliebten Ballerspiels <produkt>HitYourStick</produkt> erschienen: <link>http://www.hityourstick.de</link> </produktnews> 3. create the file test.xslt <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html><head></head><body style="color:green"> <xsl:apply-templates /> </body></html> </xsl:template> <xsl:template match="produkt"> <span style="color:blue"><xsl:value-of select="." /></span> </xsl:template> <xsl:template match="link"> <a><xsl:attribute name="href"><xsl:value-of select="." /></xsl:attribute> <xsl:value-of select="." /></a> </xsl:template> </xsl:stylesheet> Actual Results: Fehler beim Laden des Stylesheets Ein XSLT-Stylesheet hat keinen XML-MIME-Typ: ~Error while loading stylesheet. XSLT-Stylesheet without XML-MIME-Typ: -using the german translation -don't get the error in the english ("translation" of) firefox
I can confirm this. I do think it has been fixed in CVS though. I have only gotten reports about this from clients using Firefox 1.0.
Comment 2•20 years ago
|
||
(In reply to comment #1) > I can confirm this. > > I do think it has been fixed in CVS though. I have only gotten reports about > this from clients using Firefox 1.0. I also have got this error. I followed this advice <http://www.se.eecs.uni-kassel.de/~thm/Linux/mozilla-xml-xsl.html> and I got the xsl transformation to work. I did all the work I needed to do and was finished with my little xml and xsl transformation to html project. It worked. Now I go back a few days later and no matter what I try I can't get the xsl file to load. It's the usual "Error loading stylesheet (null) file:///home/t_billard/randomness/MessageLog/MessageLog.xsl" I'm using FC3 / Firefix 1.0 Is this problem then resolved in Firefox 1.0.1? Please let it be. Let it be! Teak
Comment 3•20 years ago
|
||
Same for me using Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.6) Gecko/20050325 Firefox/1.0.2 (Debian package 1.0.2-1) Additional information: When trying to load the stylesheet directly I get the message: Fehler beim Laden des Stylesheets Ein XSLT-Stylesheet hat keinen XML-MIME-Typ: "Error while loading the stylesheet. A XSLT stylesheet doesn't have a XML-MIME-Type". The same XML file and stylesheet works online. You can try http://de.selfhtml.org/xml/darstellung/anzeige/gruss.xml
Comment 4•20 years ago
|
||
(In reply to comment #3) Sorry, forgot to mention explicitly: Works well for http:// but not for file://
Comment 5•20 years ago
|
||
see bug 272310
Comment 6•20 years ago
|
||
Got the same problem, on Mozilla 1.7.7 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050417 Fedora/1.7.7-1.3.1. Confirm to have this problem for both http and file protocols. Confirm that <http://www.se.eecs.uni-kassel.de/~thm/Linux/mozilla-xml-xsl.html> does not solve it. Also experiment another error: Error loading stylesheet: (null) Example: http://www-sop.inria.fr/odyssee/team/Thierry.Vieville/personal/test.xml
Comment 7•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 8•19 years ago
|
||
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
| Reporter | ||
Comment 9•19 years ago
|
||
I can confirm, that this problem is resolved in firefox 1.0.7.
You need to log in
before you can comment on or make changes to this bug.
Description
•