Closed Bug 87181 Opened 24 years ago Closed 24 years ago

Viewing mime-type text/xml with no style sheets should display like text/plain

Categories

(Core :: XML, defect)

x86
Linux
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 64945

People

(Reporter: mozilla, Assigned: hjtoi-bugzilla)

Details

If you request a file from a server with mime-type "text/xml" (and no stylesheets), the tags are not displayed and text is formatted much like it is when viewing an html page. At the very least, mozilla should display the tags in the document and leave the spacing between words in character data alone. At the most (and even better), XML should be validated and displayed in pretty-print style like IE currently does, but this may be overboard. Maybe have a pref to en/disable it? The bottom line is, if I want to see the output of my XML files the way I write them, I have to set the mime-type on my server to text/plain, but this breaks the other applications I use. I shouldn't have to set an external viewer to send xml files to a text editor in order to see their natural formatting.
This is so close to another bug that I am marking this dupe. But, just you know, what we are doing currently is ok by the CSS spec (all elements have display: inline by default). *** This bug has been marked as a duplicate of 64945 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
QA Contact: petersen → rakeshmishra
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.