Closed Bug 223728 Opened 21 years ago Closed 21 years ago

view page source and view selection source are broken, xml error displayed instead

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: steffen.wilberg, Assigned: steffen.wilberg)

Details

(Keywords: regression)

Attachments

(1 file)

View Page Source and View Selection Source is broken; an xml error is displayed
instead.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031026
Firebird/0.7+ (Steffen)

The reason is that Pierre changed viewSource.xul and viewPartialSource.xul
and introduced these lines: <?xml version="1.0"?>
in this checkin:
http://bonsai.mozilla.org/cvsquery.cgi?date=explicit&mindate=10%2F25%2F2003+20%3A28&maxdate=10%2F25%2F2003+20%3A28

The xml error is:
XML Parsing Error: xml processing instruction not at start of external entity
Location: chrome://global/content/viewSource.xul
Line Number 2, Column 1:
<?xml version="1.0"?>
^

If you remove these lines, it works again.
Attached patch patchSplinter Review
This patch moves the <xml> tag to the top of viewSource.xul and
viewPartialSource.xul. It has to be in the very first line. Another solution
would be to remove the empty line after the # signs but I think this is safer.
-> Steffen
Assignee: p_ch → steffen.wilberg
Thanks for this one too!
marking fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: