Closed
Bug 348657
Opened 18 years ago
Closed 18 years ago
brand.dtd is not a well-formed DTD file because of an #expand macro
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird2.0
People
(Reporter: rpmdisguise-nave, Assigned: mscott)
References
()
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
1.32 KB,
patch
|
mscott
:
review+
benjamin
:
superreview+
|
Details | Diff | Splinter Review |
Line #1 of mozilla1.8/source/other-licenses/branding/thunderbird/locales/en-US/brand.dtd is #expand <!ENTITY lang.version "__MOZILLA_LOCALE_VERSION__"> which I don't think is valid syntax in a DTD file. Maybe it is a preprocessor instruction? Perhaps it should be SGML-commented so the file remains a valid DTD file. Being a non-valid DTD file affects L10n tools like MozillaTranslator, which uses a SAX Parser to load DTD files. The problem also affects trunk; however, I haven't found the same construction in Firefox or Thunderbird equivalent files.
Updated•18 years ago
|
Summary: brand.dtd is not a well-formed DTD file because a .properties-like comment → brand.dtd is not a well-formed DTD file because of an #expand macro
Comment 1•18 years ago
|
||
As I wrote in .l10n, the lang.version entity doesn't seem to be used outside the /extensions/content-packs/resources/content/pref-contentpacks.xul file, which is doesn't use Thunderbird's dtd and is only used by SeaMonkey. It should be safe to remove the whole lang.version entity from brand.dtd.
Comment 2•18 years ago
|
||
This patch removes the lang.version entity from both brand.dtd's used by Thunderbird.
Attachment #233765 -
Flags: review?
Updated•18 years ago
|
Attachment #233765 -
Flags: review? → review?(mscott)
Assignee | ||
Comment 3•18 years ago
|
||
Comment on attachment 233765 [details] [diff] [review] Remove lang.version from brand.dtd benjamin might remember if there's a reason for us to define lang.version here.
Attachment #233765 -
Flags: superreview?(benjamin)
Attachment #233765 -
Flags: review?(mscott)
Attachment #233765 -
Flags: review+
Comment 4•18 years ago
|
||
Comment on attachment 233765 [details] [diff] [review] Remove lang.version from brand.dtd No, that's a leftover from the seamonkey chrome registry I hope.
Attachment #233765 -
Flags: superreview?(benjamin) → superreview+
Assignee | ||
Comment 5•18 years ago
|
||
Marek, I landed this patch on the trunk and the branch for you. Thanks again for the fix!
You need to log in
before you can comment on or make changes to this bug.
Description
•