Closed
Bug 268731
Opened 20 years ago
Closed 20 years ago
XHTML shown as XML tree
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: md2perpe, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.7.5) Gecko/20041108 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.7.5) Gecko/20041108 Firefox/1.0 XHTML is an application of XML. As such, it should accept <a name="..." /> as a *closed* empty element. But for an XHTML web page to be treated as XML it has to be served with MIME-type application/xhtml+xml. But when it is, Firefox doesn't display it as a web page, but an XML tree. Reproducible: Always Steps to Reproduce: 1. Create a valid XHTML web page 2. Make the web server serve the web page as application/xhtml+xml 3. Browse to the web page Actual Results: The page is shown as an XML tree Expected Results: The page should be shown as a web page See discussions of bug #268598: https://bugzilla.mozilla.org/show_bug.cgi?id=268598
Comment 1•20 years ago
|
||
If you mean the example you inlined in bug 268598, that's not XHTML. I don't really know what it is, but without an xmlns="http://www.w3.org/1999/xhtml" attribute on the html element, it isn't XHTML. The forums at http://forums.mozillazine.org/ really are an excellent place to be sure you are seeing a Firefox/Mozilla bug, before you report it.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•