diff options
Diffstat (limited to 'i18npool/source/localedata')
-rw-r--r-- | i18npool/source/localedata/data/locale.dtd | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd index 2898ee4bb04e..377df12b9bb8 100644 --- a/i18npool/source/localedata/data/locale.dtd +++ b/i18npool/source/localedata/data/locale.dtd @@ -26,15 +26,23 @@ ATTENTION! PLEASE! HEADS UP! IMPORTANT! =========================================================================== - Please validate your locale data contribution using a validating parser. A - validating parser, for example, may be found at + Please validate your locale data contribution. + + A quick validation check can be done if you have xmllint installed and the + current locale.dtd file at hand, you can download the locale.dtd file from + https://cgit.freedesktop.org/libreoffice/core/plain/i18npool/source/localedata/data/locale.dtd + + xmllint --dtdvalid locale.dtd --noout your_data.xml + + + Second, using a validating parser. A validating parser, for example, may be found at http://unicode.org/cldr/data/tools/java/org/unicode/cldr/util/XMLValidator.java Compile it into a class-jar and call it in the i18npool/source/localedata/data/ directory: java -cp <your_path>/XMLValidator.jar org.unicode.cldr.util.XMLValidator your_data.xml - A second possibility is: + A third possibility is: - temporarily (!) change the DOCTYPE of your file to read (all on one line) <!DOCTYPE Locale SYSTEM "http://cgit.freedesktop.org/libreoffice/core/plain/i18npool/source/localedata/data/locale.dtd"> |