i18npool/source/localedata/data/locale.dtd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
New commits: commit 5d80971d8bc2027d78e1f6120bea7c388138d2d7 Author: Eike Rathke <er...@redhat.com> AuthorDate: Thu Oct 6 17:51:41 2022 +0200 Commit: Eike Rathke <er...@redhat.com> CommitDate: Thu Oct 6 20:48:05 2022 +0200 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 <er...@redhat.com> Tested-by: Jenkins 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