Closed Bug 335622 Opened 19 years ago Closed 18 years ago

XML-XSLT issues with document.write()

Categories

(Core :: XSLT, defect)

1.8 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: agoel, Unassigned)

References

()

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; TheFreeDictionary.com; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2 XML with XSL Transformation with Javascript to render a Tree Menu works in IE, but not in Firefox. I have narrowed down the issue to something with the document object not working properly as document.write() isnt adding the element. Reproducible: Always Steps to Reproduce: 1. Browse to http://205.234.99.204:8080/oversight/getXML using Firefox and the page just confinues to load. 2. 3. Actual Results: The page indefinately loads Expected Results: A navigateable menu
Assignee: nobody → xslt
Component: General → XSLT
Product: Firefox → Core
QA Contact: general → keith
Version: unspecified → 1.8 Branch
The incremental version of document.write doesn't work in XML (see bug 68193, bug 332848) because document.write involves crazy interference with the HTML parser. Given that, expecting it to work with XSLT-transformed XML is kind of insane. Add elements with createElementNS and appendChild instead.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Depends on: 68193
Resolution: --- → INVALID
Summary: XML-XSL Transformation Issues with JavaScript → XML-XSLT issues with document.write()
You need to log in before you can comment on or make changes to this bug.