Closed Bug 206129 Opened 21 years ago Closed 21 years ago

Very large XML file hangs browser (in prettyprint XSLT) with 100% CPU

Categories

(Core :: XSLT, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 197956

People

(Reporter: chris, Assigned: peterv)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows; U; Windows NT 5.1; en-US; rv:1.3a)
Build Identifier: Mozilla/4.0 (compatible; MSIE 6.0; Windows; U; Windows NT 5.1; en-US; rv:1.3a)

This is just a bland document with a lot of blob style xml data. It loads fine
in a suite of other browsers but hangs Firebird.

Reproducible: Always

Steps to Reproduce:
1. http://nsa.org/~chris/xml/weather.xml

Actual Results:  
hangs

Expected Results:  
complaing about the lameness of the data, er, displayed the data
This is not Phoenix-specific. The "hang" is due (I believe) to the XSLT
transformation done for pretty-printing.

Perhaps we should not pretty-print very large files, and just prompt for download?
Assignee: blaker → peterv
Component: General → XSLT
Product: Phoenix → Browser
QA Contact: asa → keith
Summary: hang-o-rama → Very large XML file hangs browser (in prettyprint XSLT) with 100% CPU
Version: unspecified → Trunk
Oh, and the document is technically invalid XML, because it doesn't contain
<?xml version="1.0"?> at the beginning. But I don't think that affects the
testcase, as it is being served as the text/xml mimetype and being parsed
through the XML parser.
duplicate of another "xslt prettyprint perf"

*** This bug has been marked as a duplicate of 197956 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.