2.41a2 scratchpad fails with XML Parsing Error: undefined entity line 21, column 1

RESOLVED INVALID

Status

SeaMonkey
General
P1
minor
RESOLVED INVALID
2 years ago
2 years ago

People

(Reporter: rexyrexy2, Unassigned)

Tracking

SeaMonkey 2.41 Branch

SeaMonkey Tracking Flags

(seamonkey2.41 affected, seamonkey2.42 unaffected)

Details

(Reporter)

Description

2 years ago
This bug is only for 2.41. It includes partially implemented devtools with Scratchpad, but Scratchpad fails with:
XML Parsing Error: undefined entity
Location: chrome://devtools/content/scratchpad/scratchpad.xul
Line Number 21, Column 1:<window id="main-window"
^

There is no UI to open scratchpad, but scratchpad is used by a few extensions, and these extensions either fail to load the editing portion, or scratchpad opens with this error.
(Reporter)

Comment 1

2 years ago
(scratchpad works just fine in 2.42, however)

Examples of extensions which use scratchpad are Stylish, or Greasemonkey put through the addon converter)
(Reporter)

Updated

2 years ago
Severity: normal → minor
Priority: -- → P1
Devtools are in the process of being ported to SeaMonkey, I have no idea if the fix (whatever it is) which solved this problem for 2.42 will ever be ported to 2.41.

Current Aurora is 2.42a2 anyway; 2.41 ought to be Beta and 2.40 Release but I can't find them anywhere: apparently the latest release is still 2.39 from November 8, now more than two months old. Maybe the next release (at some point in February) will be 2.41, skipping 2.40?

Setting this as a dependency of bug smdevtools aka bug 842942 but I don't think that a bug affecting 2.41 but not 2.42 will make any difference in the devtools porting process.
Blocks: 842942
status-seamonkey2.41: --- → affected
status-seamonkey2.42: --- → unaffected
(Reporter)

Comment 3

2 years ago
(In reply to Tony Mechelynck [:tonymec] from comment #2)
> Devtools are in the process of being ported to SeaMonkey, I have no idea if
> the fix (whatever it is) which solved this problem for 2.42 will ever be
> ported to 2.41.
> 
> Current Aurora is 2.42a2 anyway; 2.41 ought to be Beta and 2.40 Release but
> I can't find them anywhere: apparently the latest release is still 2.39 from
> November 8, now more than two months old. Maybe the next release (at some
> point in February) will be 2.41, skipping 2.40?
> 
> Setting this as a dependency of bug smdevtools aka bug 842942 but I don't
> think that a bug affecting 2.41 but not 2.42 will make any difference in the
> devtools porting process.

I do not believe this bug is a dependancy of that bug, as this is fixed with 2.42. I just thought the fix from 2.42 would be able to be ported to 2.41 so that the release is shipped with a working ScratchPad instead of a broken one.
(Reporter)

Updated

2 years ago
No longer blocks: 842942
(Reporter)

Comment 4

2 years ago
(for extensions that use ScratchPad)

Comment 5

2 years ago
Extensions that want to use scratchpad will need to provide their own scratchpad.dtd and sourceeditor.dtd files. See
http://mxr.mozilla.org/comm-central/source/mozilla/devtools/client/locales/en-US/scratchpad.dtd#23
http://mxr.mozilla.org/comm-central/source/mozilla/devtools/client/scratchpad/scratchpad.xul?rev=a907d1913710#23

> This bug is only for 2.41
Fixed in Firefox 45.0a1 (SeaMonkey 2.42a1)
Bug 1182722 - Move DevTools l10n files
http://hg.mozilla.org/mozilla-central/rev/a907d1913710#l111.1
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.