XHTML 1.0 document with text/html media-type is treated as HTML 4.0 document.

VERIFIED DUPLICATE of bug 48351

Status

()

Core
Layout
P3
normal
VERIFIED DUPLICATE of bug 48351
18 years ago
17 years ago

People

(Reporter: Ryosuke_Nanba, Assigned: Judson Valeski)

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

18 years ago
Non-html tags in XHTML 1.0 document are ignored when the document lebeled with 
the Internet Mediatype "text/html".
To be browsed old web browser, some XTHML documents are labeled with 
"text/html", not labeled whith "text/xml". In new XHTML comformant browser 
renders such documents as XHTML documents.

Comment 1

18 years ago
Nisheeth, we never claimed we would deal with XHTML, but it's XML related so 
re-assigning to you
Assignee: troy → nisheeth

Comment 2

18 years ago
Moving these XHTML bugs to M17...
Status: NEW → ASSIGNED
Target Milestone: M17

Comment 3

18 years ago
Moving bugs out by one milestone...
Target Milestone: M17 → M18

Comment 4

18 years ago
Harish, another DTD selection problem for you.  I think we should implement the 
heuristic that if an HTML file contains and XML PI right up top, we should use 
the XML DTD to parse it.

CCing Rick Gessner for his opinion.
Assignee: nisheeth → harishd
Status: ASSIGNED → NEW

Updated

18 years ago
Assignee: harishd → valeski

Comment 5

18 years ago
The parser is been given a wrong mime type...   Reassinging to valeski.

Comment 6

17 years ago
*** Bug 44819 has been marked as a duplicate of this bug. ***
Duping to a later bug because the later bug has a more complete set of 
testcases attached and highlights problems with the approaches mentioned above.

*** This bug has been marked as a duplicate of 48351 ***
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → DUPLICATE

Comment 8

17 years ago
xhtml run through the html parser. marking verified duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.