XML files don't pretty print and are displayed as plain text
Categories
(Core :: XML, defect)
Tracking
()
People
(Reporter: egil, Unassigned)
References
()
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
- Visit some page serving XML.
- Server provides "Content-Type: application/xml; charset=utf-8".
- Response contains no DOCTYPE.
- Also XMLNS is custom i.e. non-xhtml (and non-html).
Actual results:
Blob of text (textContent?).
Expected results:
View of XML tree. Attaching expected view (from Chrome).
It seems to be broken just now.
- It works fine on Ubuntu on 72.0.1.
- It doesn't work on Windows 7 on 72.0.2.
Also see complain here:
https://superuser.com/questions/1308064/firefox-stopped-displaying-xml-files-how-to-fix
And please note that Doctype is NOT required for XML. It's actually kind of required for valid HTML, not for XML.
Comment 2•5 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
20200117190643
Works for me. Please check what happens when you restart with add-ons disabled (Safe Mode). Add-ons are known to cause this (bug 1401793, bug 1605657).
Reporter | ||
Comment 3•5 years ago
|
||
A workaround for me is to disable LastPass and refresh. But this wasn't a problem with previous Firefox and is not a problem with Chrome (for whitch I also use LastPass).
So seems like this is a duplicate of bug 1605657.
Reporter | ||
Updated•5 years ago
|
Description
•