Closed Bug 6112 Opened 26 years ago Closed 26 years ago

XML document does not display page - only renders code

Categories

(Core :: XML, defect, P3)

All
Windows 95
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: christinehoff4, Assigned: nisheeth_mozilla)

References

()

Details

Tested using 5/7 Apprunner and Viewer on Win 95, Win NT, Win 98, Mac8.5 and Linux. Behavior described below is cross platform. Type in URL. From the location, Gecko does not display the page - only displays the code. On my local Win 95 machine, Gecko displays the page properly. Also, IE 5.0 displays the page properly.
Status: NEW → ASSIGNED
Target Milestone: M7
Accepting bug. Setting target milestone to M7...
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
This is happening because the web server maps *.xml files to the "text/plain" MIME type instead of the "text/xml" MIME type. If you download the .xml and .css file to your local disk and try to load the .xml file, everything works fine because the OS maps .xml files to text/xml. I think that the current behavior of showing the file as plain text if the MIME type is text/plain makes sense. So, I'm marking this bug invalid. The right way to fix this would be to go to the server and set up the MIME type mapping for XML files to "text/xml".
Status: RESOLVED → VERIFIED
Will mark this verified and resolve it outside of Bugzilla.
You need to log in before you can comment on or make changes to this bug.