Closed Bug 484719 Opened 15 years ago Closed 13 years ago

Composer strips the <?xml version="1.0" encoding="iso-8859-1"?> at the top of the page

Categories

(SeaMonkey :: Composer, enhancement)

SeaMonkey 2.0 Branch
x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 431184

People

(Reporter: dgeene, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 GTB5 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 SeaMonkey/2.0a3

I am using composer in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090223 SeaMonkey/2.0a3

Composer strips the very first line <?xml version="1.0" encoding="iso-8859-1"?> at the page top XHTML page when I do a save, even if I do not change anything and even if I "save as" html or the "all files" format. I strips it even if I check "preserve original source formatting" in preferences.

When you do a html view, the <?xml version="1.0" encoding="iso-8859-1"?> is not shown so it seems composer may strip it when the page is opened.

I reported this along time ago. Please make composer XHTML friendly. The new version of SeaMonkey and Composer looks great but I can't use composer if it going to change my code!. Please help.

Thank you,

DaveG




Reproducible: Always

Steps to Reproduce:
1. open any xhtml page that has <?xml version="1.0" encoding="iso-8859-1"?> as the first line.
2. save the page, if you don't change anything you will do a "save as"
3. view the page with a "non-destructive" editor and you will see the first line has been stripped off
Actual Results:  
the first line of XHTML code is stripped
<?xml version="1.0" encoding="iso-8859-1"?>

Expected Results:  
same as above

it should not have stripped the first line off the page
<?xml version="1.0" encoding="iso-8859-1"?>

Composer is not xhtml friendly. Please make it so.

Thank you!
Related to bug 431184 !?
Version: unspecified → Trunk
Or possibly bug 30027?
This WFM, could you check against SM2.3 please?
Severity: normal → enhancement
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Version: Trunk → SeaMonkey 2.0 Branch
You need to log in before you can comment on or make changes to this bug.