Closed Bug 17595 Opened 26 years ago Closed 26 years ago

XML document without stylesheet not displayed

Categories

(Core :: XML, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: rickg)

Details

Attachments

(3 files)

DESCRIPTION: XML documents without a stylesheet no longer show up. They should, in particular when they use namespaces (HTML, MathML, XUL) about which Mozilla has knowledge. STEPS TO REPRODUCE: * load first of attach test cases ACTUAL RESULTS: * some leftover painting EXPECTED RESULTS: * "This is an XML-ish document." DOES NOT WORK CORRECTLY ON: * Linux, apprunner, 1999-10-29-10-M11 WORKS CORRECTLY ON: * older builds
Status: NEW → ASSIGNED
Target Milestone: M11
Accepting bug and setting milestone to M11 for now...
Assignee: nisheeth → rickg
Status: ASSIGNED → NEW
Re-assigning to Rick as per our conversation. The HTML DTD is being selected over the XML DTD to handle this document because the document contains "html doctype public" inside it. BufferContainsHTML() probably needs to be changed to check for the XML Decl and return FALSE if it is found.
This is now fixed in my tree, awaiting m12 opening.
Status: NEW → ASSIGNED
Why isn't the MIME type text/xml enough?
Target Milestone: M11 → M12
if this doesn't arrive then lets move target milestone to m12
Mime types can be misleading. If you tell me you have an XML file, I still need to determine whether I have a DTD for that XML application (or not). What's more I've seen HTML files given as text/plain.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fixed by autodetection code in CNavDTD. The code was too aggressive about taking ownership of a document if it spotted HTML.
Status: RESOLVED → VERIFIED
Using 11/16 build on Linux, verified fixed. XML page displays.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: