Closed Bug 145329 Opened 23 years ago Closed 23 years ago

Will not display XML/XSL file

Categories

(Core :: XSLT, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: joeljkparker, Assigned: peterv)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc2) Gecko/20020510 BuildID: 2002051006 When I try to display the above XML file with its XSLT stylesheet (converting it to HTML), the page simply doesn't display. Reproducible: Always Steps to Reproduce: 1. visit above page 2. 3. Actual Results: Nothing Expected Results: Display the HTML.
www12:~$ wget http://www.ballsome.com/stylesheets/articles.xsl --22:50:56-- http://www.ballsome.com/stylesheets/articles.xsl => `articles.xsl' Connecting to www.ballsome.com:80... connected! HTTP request sent, awaiting response... 200 OK Length: 7,967 [text/plain] You use the wrong mimetype for the stylesheet. Make sure that the server is configured to use "text/xml" or "application/xml" for .xsl files. Plase read our FAQ for details: http://www.mozilla.org/projects/xslt/index.html#faq
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Yup. text/plain it is.
Status: RESOLVED → VERIFIED
The mime type has been changed, now it sends the file as text/xml. The problem, however, has not been fixed.
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
The mimetype that the server sends for the XSLT stylesheet is still text/plain. Please really verify that it is text/xml and the transformation doesn't happen before reopening.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → INVALID
peterv: i'm sorry to say, but it does in fact send the right mimetype. I had to shift-reload to get the old one out of cache though.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Hmmm, right. So I suspect that maybe <xsl:output method =" xml"...> causes us to fail because of the extra space before in the method attribute's value.
Status: UNCONFIRMED → NEW
Ever confirmed: true
tested, WFM
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.