]> git.ipfire.org Git - thirdparty/gettext.git/commit
its: Add ability to check *.its and *.loc files with XML Schema 1.1.
authorBruno Haible <bruno@clisp.org>
Tue, 15 Oct 2024 00:37:28 +0000 (02:37 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 15 Oct 2024 01:10:03 +0000 (03:10 +0200)
commitb286a63d8bc034c92fcc994710aa30ff01f03a2a
treee8c369df5911ea8ad64d937e573dd0eb9178adfe
parentf8236681dbc1a46b5f5f16ea17aaea8377650719
its: Add ability to check *.its and *.loc files with XML Schema 1.1.

* gettext-tools/src/its.xsd10: Renamed from gettext-tools/src/its.xsd.
(RulesType): Enumerate all possible rules in the ITS namespace, instead of using
a wildcard.
(OtherRuleType): New element.
* gettext-tools/src/its.xsd11: Copied from gettext-tools/src/its.xsd.
(LocNoteRuleType): Enable assertion.
* gettext-tools/src/locating-rules.xsd10: Renamed from
gettext-tools/src/locating-rules.xsd.
* gettext-tools/src/locating-rules.xsd11: Copied from
gettext-tools/src/locating-rules.xsd.
(LocatingRuleType): Enable assertion.
* gettext-tools/src/Makefile.am (schema_DATA): Add its.xsd10, its.xsd11,
locating-rules.xsd10, locating-rules.xsd11. Remove its.xsd, locating-rules.xsd.
* gettext-tools/build-aux/xml-validate-10.in: New file.
* gettext-tools/build-aux/xml-validate-11.in: New file.
* gettext-tools/configure.ac: Substitute HAVE_JAVAEXEC.
(AC_CONFIG_FILES): Create build-aux/xml-validate-10, build-aux/xml-validate-11.
* gettext-tools/Makefile.am (DISTCLEANFILES): Add build-aux/xml-validate-10,
build-aux/xml-validate-11.
* gettext-tools/its/Makefile.am: Revert last commit.
(check-local): Check each file both using the XML Schema 1.0 and the XML Schema
1.1.
* gettext-tools/doc/gettext.texi (ITS Rules): Mention the two versions of
its.xsd.
(Location Rules): Mention the two versions of locating-rules.xsd.
* HACKING: Mention Xerces2-J.
13 files changed:
.gitignore
HACKING
gettext-tools/Makefile.am
gettext-tools/build-aux/xml-validate-10.in [new file with mode: 0644]
gettext-tools/build-aux/xml-validate-11.in [new file with mode: 0644]
gettext-tools/configure.ac
gettext-tools/doc/gettext.texi
gettext-tools/its/Makefile.am
gettext-tools/src/Makefile.am
gettext-tools/src/its.xsd10 [new file with mode: 0644]
gettext-tools/src/its.xsd11 [moved from gettext-tools/src/its.xsd with 96% similarity]
gettext-tools/src/locating-rules.xsd10 [moved from gettext-tools/src/locating-rules.xsd with 97% similarity]
gettext-tools/src/locating-rules.xsd11 [new file with mode: 0644]