Closed
Bug 324049
Opened 20 years ago
Closed 20 years ago
XML Transform ok, but not rendered
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: andrejohn.mas, Unassigned)
Details
Attachments
(1 file)
|
953 bytes,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Taking the attached test case, Firefox seems to do the transformation correctly (select page contents and then in the pop-up menu select 'view selection source'), but fails to render the HTML properly. What we see is the unformatted tranform displayed.
If I save the source as seen in the 'view selection source', and then reopen it in Firefox it displays fine, but with some junk characters.
Reproducible: Always
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
Just to confirm tested in Firefox 1.5 on Windows XP.
Comment 3•20 years ago
|
||
http://www.w3.org/TR/xhtml1/strict is not the right xhtml namespace. If you use the correct one or not have any namespace for the <html> element, the document displays fine. This is correct according to "16 Output" section of the specification.
The default for the method attribute is chosen as follows. If
* the root node of the result tree has an element child,
* the expanded-name of the first element child of the root node (i.e. the document element) of the result tree has local part html (in any combination of upper and lower case) and *****a null namespace URI*****, [...] then the default output method is html; otherwise, the default output method is xml.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 4•19 years ago
|
||
confirmed: removing xmlns="http://www.w3.org/TR/xhtml1/strict" results in a working rendered document. Thanks.
You need to log in
before you can comment on or make changes to this bug.
Description
•