Closed Bug 218122 Opened 22 years ago Closed 22 years ago

crash when opening a XML doc via "file:" with non-existent XSL stylesheet

Categories

(Core :: XML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 212871

People

(Reporter: moezilla, Assigned: hjtoi-bugzilla)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Mozilla crashes when opening the following XML file using "file:" protocol. <?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet type="application/xml" href="noexist.xsl"?> <x></x> If the file is opened via http or if the file "noexist.xsl" exists, the crash doesn't happen. Reproducible: Always Steps to Reproduce: 1. save the following text in a XML file: <?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet type="application/xml" href="noexist.xsl"?> <x></x> 2. Open it using "File->Open File..." 3. Crash! Actual Results: Mozilla crashes. Expected Results: Mozilla should signal an error saying it could not open the XSL file "noexist.xsl".
*** This bug has been marked as a duplicate of 212871 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.