Closed Bug 400945 Opened 17 years ago Closed 17 years ago

DTDParser for compare-locales not standards-compliant enough

Categories

(Mozilla Localizations :: Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Unassigned)

References

()

Details

Attachments

(1 file)

I came across yet another instance where the regexps we're using to parse l10n files for compare locales weren't good enough.

This time, I just bit the bullet and copied the allowed chars for DTD names over from the XML spec, at least to the extent that python's unicode like them.

Without this fix, http://lxr.mozilla.org/mozilla1.8/source/toolkit/locales/en-US/chrome/global/wizard.dtd goes totally unchecked. I bet there are other entities surfing beneath our radar right now, too.
Attachment #285999 - Flags: review?(benjamin)
Attachment #285999 - Flags: review?(benjamin) → review+
Checked in on trunk, thanks for the review.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: Testing → Infrastructure
Product: Core → Mozilla Localizations
QA Contact: testing → infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: