Closed
Bug 17595
Opened 26 years ago
Closed 26 years ago
XML document without stylesheet not displayed
Categories
(Core :: XML, defect, P3)
Tracking
()
VERIFIED
FIXED
M12
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
| Reporter | ||
Comment 1•26 years ago
|
||
| Reporter | ||
Comment 2•26 years ago
|
||
| Reporter | ||
Comment 3•26 years ago
|
||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M11
Comment 4•26 years ago
|
||
Accepting bug and setting milestone to M11 for now...
Updated•26 years ago
|
Assignee: nisheeth → rickg
Status: ASSIGNED → NEW
Comment 5•26 years ago
|
||
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.
| Reporter | ||
Comment 7•26 years ago
|
||
Why isn't the MIME type text/xml enough?
Updated•26 years ago
|
Target Milestone: M11 → M12
Comment 8•26 years ago
|
||
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
| Assignee | ||
Comment 10•26 years ago
|
||
Fixed by autodetection code in CNavDTD. The code was too aggressive about taking
ownership of a document if it spotted HTML.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 11•26 years ago
|
||
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.
Description
•