Closed Bug 276222 Opened 21 years ago Closed 21 years ago

<body> tag missing from output of XSLT transformation

Categories

(Core :: XSLT, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: lanny, Assigned: peterv)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 An XSLT file contains the html markup with the <body> tag, but it is missing from the resulting webpage. No background, no document.body on the page. Demonstrating XML and XSL files: http://sztproba.inf.elte.hu/~vbence/firefox/xslt_body/ Reproducible: Always Steps to Reproduce: 1. Open the given URL Actual Results: The <body> tag is missing from the result. Expected Results: Contein the <body> tag from the XSLT file. Tested on two XP SP1 machines with Firefox 1.0 and 0.9x I use the normal priority, but as long as this error exists I cannot use client side xslt processing with this browser.
Assignee: firefox → peterv
Component: General → XSLT
Product: Firefox → Core
QA Contact: firefox.general → keith
Version: unspecified → 1.7 Branch
The body tag is there, but the document.body is null. Interesting. I wonder if it has something to do with HTML output and XHTML namespace.
Yes, it's because the stylesheet is mixing html and xhtml. If you remove the xmlns:xhtml attribute from the top element things will work fine.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Thanx. Taht solved the problem. I think i sould by a book on XSLT :)
You need to log in before you can comment on or make changes to this bug.