summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2022-10-06 17:51:41 +0200
committerEike Rathke <erack@redhat.com>2022-10-06 20:48:05 +0200
commit5d80971d8bc2027d78e1f6120bea7c388138d2d7 (patch)
tree37b3a7f3b0ddb783282a79df8446ca31e0d73410 /i18npool
parent8eaeee05f7e0583e25282302811d73682c2f3cad (diff)
Do not use double hyphen in DTD comment to satisfy xmllint
Change-Id: I0358abf107c2c80aa142627dd37819c55023be10 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141028 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/data/locale.dtd8
1 files changed, 7 insertions, 1 deletions
diff --git a/i18npool/source/localedata/data/locale.dtd b/i18npool/source/localedata/data/locale.dtd
index 60006d87f439..f713ccf6d8b4 100644
--- a/i18npool/source/localedata/data/locale.dtd
+++ b/i18npool/source/localedata/data/locale.dtd
@@ -31,7 +31,13 @@
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
+ xmllint -dtdvalid locale.dtd -noout your_data.xml
+
+ (Note that instead of one - hyphen minus two consecutive hyphen minus
+ characters should be given to start an option, but a double hyphen in a XML
+ comment technically ends a comment (though parsers look for a matching
+ closing one with > as well) and let xmllint complain already about the .dtd
+ itself. Some versions of xmllint also accept a single hyphen minus).
Second, using a validating parser. A validating parser, for example, may be found at