From d98ec7dbcb74e798f012e96a0ea5ce561e54089c Mon Sep 17 00:00:00 2001 From: FAtherden-eLife Date: Wed, 27 Sep 2023 13:33:47 +0100 Subject: [PATCH] chore: change scope of given-names and surname checks To include these elements in ref lists and elsewhere, not just in contribs --- src/final-JATS-schematron.sch | 2 +- src/final-JATS-schematron.xsl | 2 +- src/final-package-JATS-schematron.sch | 2 +- src/pre-JATS-schematron.sch | 2 +- src/pre-JATS-schematron.xsl | 2 +- src/schematron.sch | 2 +- .../gen/given-names-tests/final-given-names-test-16/fail.xml | 2 +- .../final-given-names-test-16/final-given-names-test-16.sch | 4 ++-- .../gen/given-names-tests/final-given-names-test-16/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-10/fail.xml | 2 +- .../given-names-test-10/given-names-test-10.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-10/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-11/fail.xml | 2 +- .../given-names-test-11/given-names-test-11.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-11/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-12/fail.xml | 2 +- .../given-names-test-12/given-names-test-12.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-12/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-13/fail.xml | 2 +- .../given-names-test-13/given-names-test-13.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-13/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-14/fail.xml | 2 +- .../given-names-test-14/given-names-test-14.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-14/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-15/fail.xml | 2 +- .../given-names-test-15/given-names-test-15.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-15/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-3/fail.xml | 2 +- .../given-names-test-3/given-names-test-3.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-3/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-4/fail.xml | 2 +- .../given-names-test-4/given-names-test-4.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-4/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-5/fail.xml | 2 +- .../given-names-test-5/given-names-test-5.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-5/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-6/fail.xml | 2 +- .../given-names-test-6/given-names-test-6.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-6/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-7/fail.xml | 2 +- .../given-names-test-7/given-names-test-7.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-7/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-8/fail.xml | 2 +- .../given-names-test-8/given-names-test-8.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-8/pass.xml | 2 +- test/tests/gen/given-names-tests/given-names-test-9/fail.xml | 2 +- .../given-names-test-9/given-names-test-9.sch | 4 ++-- test/tests/gen/given-names-tests/given-names-test-9/pass.xml | 2 +- .../gen/given-names-tests/pre-given-names-test-16/fail.xml | 2 +- .../gen/given-names-tests/pre-given-names-test-16/pass.xml | 2 +- .../pre-given-names-test-16/pre-given-names-test-16.sch | 4 ++-- test/xspec/schematron.sch | 4 ++-- 52 files changed, 68 insertions(+), 68 deletions(-) diff --git a/src/final-JATS-schematron.sch b/src/final-JATS-schematron.sch index c98f83259f..9b5fd2cbde 100644 --- a/src/final-JATS-schematron.sch +++ b/src/final-JATS-schematron.sch @@ -1845,7 +1845,7 @@ - + [given-names-test-3] given-names must not be empty. diff --git a/src/final-JATS-schematron.xsl b/src/final-JATS-schematron.xsl index 311254b500..3e9d5e499b 100644 --- a/src/final-JATS-schematron.xsl +++ b/src/final-JATS-schematron.xsl @@ -8437,7 +8437,7 @@ - + diff --git a/src/final-package-JATS-schematron.sch b/src/final-package-JATS-schematron.sch index f82f945f0b..05df5849c2 100644 --- a/src/final-package-JATS-schematron.sch +++ b/src/final-package-JATS-schematron.sch @@ -1866,7 +1866,7 @@ - + given-names must not be empty. diff --git a/src/pre-JATS-schematron.sch b/src/pre-JATS-schematron.sch index 4a854a1fd8..8b5c2b9339 100644 --- a/src/pre-JATS-schematron.sch +++ b/src/pre-JATS-schematron.sch @@ -1790,7 +1790,7 @@ - + [given-names-test-3] given-names must not be empty. diff --git a/src/pre-JATS-schematron.xsl b/src/pre-JATS-schematron.xsl index 49f056940d..a143cb7594 100644 --- a/src/pre-JATS-schematron.xsl +++ b/src/pre-JATS-schematron.xsl @@ -8322,7 +8322,7 @@ - + diff --git a/src/schematron.sch b/src/schematron.sch index c83b0ad7b9..003c8f2f07 100644 --- a/src/schematron.sch +++ b/src/schematron.sch @@ -2159,7 +2159,7 @@ - + - diff --git a/test/tests/gen/given-names-tests/final-given-names-test-16/final-given-names-test-16.sch b/test/tests/gen/given-names-tests/final-given-names-test-16/final-given-names-test-16.sch index 21fb33a573..c3416565f4 100644 --- a/test/tests/gen/given-names-tests/final-given-names-test-16/final-given-names-test-16.sch +++ b/test/tests/gen/given-names-tests/final-given-names-test-16/final-given-names-test-16.sch @@ -1282,13 +1282,13 @@ - + given-names contains brackets - ''. This will be flagged by Crossref (although will not actually cause any significant problems). - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/final-given-names-test-16/pass.xml b/test/tests/gen/given-names-tests/final-given-names-test-16/pass.xml index d55cca2e3a..64feba2a0f 100644 --- a/test/tests/gen/given-names-tests/final-given-names-test-16/pass.xml +++ b/test/tests/gen/given-names-tests/final-given-names-test-16/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-10/fail.xml b/test/tests/gen/given-names-tests/given-names-test-10/fail.xml index 0f20cc4f20..42f923b7be 100644 --- a/test/tests/gen/given-names-tests/given-names-test-10/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-10/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-10/given-names-test-10.sch b/test/tests/gen/given-names-tests/given-names-test-10/given-names-test-10.sch index bc82f8269b..5080e7353f 100644 --- a/test/tests/gen/given-names-tests/given-names-test-10/given-names-test-10.sch +++ b/test/tests/gen/given-names-tests/given-names-test-10/given-names-test-10.sch @@ -1282,13 +1282,13 @@ - + given-names ends with de, der, or den - should this be captured as the beginning of the surname instead? - ''. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-10/pass.xml b/test/tests/gen/given-names-tests/given-names-test-10/pass.xml index 67c9dbf961..2ce2cb3c66 100644 --- a/test/tests/gen/given-names-tests/given-names-test-10/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-10/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-11/fail.xml b/test/tests/gen/given-names-tests/given-names-test-11/fail.xml index 3fccd4b519..7aaa213033 100644 --- a/test/tests/gen/given-names-tests/given-names-test-11/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-11/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-11/given-names-test-11.sch b/test/tests/gen/given-names-tests/given-names-test-11/given-names-test-11.sch index 420dfb5a0e..5c850bf866 100644 --- a/test/tests/gen/given-names-tests/given-names-test-11/given-names-test-11.sch +++ b/test/tests/gen/given-names-tests/given-names-test-11/given-names-test-11.sch @@ -1282,13 +1282,13 @@ - + given-names ends with ' van' - should this be captured as the beginning of the surname instead? - ''. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-11/pass.xml b/test/tests/gen/given-names-tests/given-names-test-11/pass.xml index 50bc125c3c..54fdd4102f 100644 --- a/test/tests/gen/given-names-tests/given-names-test-11/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-11/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-12/fail.xml b/test/tests/gen/given-names-tests/given-names-test-12/fail.xml index b238ffcd78..bee72e8bb3 100644 --- a/test/tests/gen/given-names-tests/given-names-test-12/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-12/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-12/given-names-test-12.sch b/test/tests/gen/given-names-tests/given-names-test-12/given-names-test-12.sch index 7cae01c392..194aa5a58a 100644 --- a/test/tests/gen/given-names-tests/given-names-test-12/given-names-test-12.sch +++ b/test/tests/gen/given-names-tests/given-names-test-12/given-names-test-12.sch @@ -1282,13 +1282,13 @@ - + given-names ends with ' von' - should this be captured as the beginning of the surname instead? - ''. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-12/pass.xml b/test/tests/gen/given-names-tests/given-names-test-12/pass.xml index c0446085bb..400347f422 100644 --- a/test/tests/gen/given-names-tests/given-names-test-12/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-12/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-13/fail.xml b/test/tests/gen/given-names-tests/given-names-test-13/fail.xml index 7bdc5f5ba5..28d74bee1f 100644 --- a/test/tests/gen/given-names-tests/given-names-test-13/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-13/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-13/given-names-test-13.sch b/test/tests/gen/given-names-tests/given-names-test-13/given-names-test-13.sch index ca020fa4b8..a7135e5e59 100644 --- a/test/tests/gen/given-names-tests/given-names-test-13/given-names-test-13.sch +++ b/test/tests/gen/given-names-tests/given-names-test-13/given-names-test-13.sch @@ -1282,13 +1282,13 @@ - + given-names ends with ' el' - should this be captured as the beginning of the surname instead? - ''. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-13/pass.xml b/test/tests/gen/given-names-tests/given-names-test-13/pass.xml index ac007b93e9..3b63fea33d 100644 --- a/test/tests/gen/given-names-tests/given-names-test-13/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-13/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-14/fail.xml b/test/tests/gen/given-names-tests/given-names-test-14/fail.xml index 68fd1d992a..2f394a0f7b 100644 --- a/test/tests/gen/given-names-tests/given-names-test-14/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-14/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-14/given-names-test-14.sch b/test/tests/gen/given-names-tests/given-names-test-14/given-names-test-14.sch index 6e272e95d3..5b09b12bd4 100644 --- a/test/tests/gen/given-names-tests/given-names-test-14/given-names-test-14.sch +++ b/test/tests/gen/given-names-tests/given-names-test-14/given-names-test-14.sch @@ -1282,13 +1282,13 @@ - + given-names ends with te, ter, or ten - should this be captured as the beginning of the surname instead? - ''. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-14/pass.xml b/test/tests/gen/given-names-tests/given-names-test-14/pass.xml index b4ea9a0e4c..7cc3c41f30 100644 --- a/test/tests/gen/given-names-tests/given-names-test-14/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-14/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-15/fail.xml b/test/tests/gen/given-names-tests/given-names-test-15/fail.xml index 46f41e1310..12a8968137 100644 --- a/test/tests/gen/given-names-tests/given-names-test-15/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-15/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-15/given-names-test-15.sch b/test/tests/gen/given-names-tests/given-names-test-15/given-names-test-15.sch index c8680aa25b..43d74c8e9e 100644 --- a/test/tests/gen/given-names-tests/given-names-test-15/given-names-test-15.sch +++ b/test/tests/gen/given-names-tests/given-names-test-15/given-names-test-15.sch @@ -1282,13 +1282,13 @@ - + given-names contains initials with spaces. Ensure that the space(s) is removed between initials - ''. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-15/pass.xml b/test/tests/gen/given-names-tests/given-names-test-15/pass.xml index 1768900504..599ca17e87 100644 --- a/test/tests/gen/given-names-tests/given-names-test-15/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-15/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-3/fail.xml b/test/tests/gen/given-names-tests/given-names-test-3/fail.xml index 165ce6cb2d..18bb902dd9 100644 --- a/test/tests/gen/given-names-tests/given-names-test-3/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-3/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-3/given-names-test-3.sch b/test/tests/gen/given-names-tests/given-names-test-3/given-names-test-3.sch index 46b1969f44..b42e7b9412 100644 --- a/test/tests/gen/given-names-tests/given-names-test-3/given-names-test-3.sch +++ b/test/tests/gen/given-names-tests/given-names-test-3/given-names-test-3.sch @@ -1282,13 +1282,13 @@ - + given-names must not be empty. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-3/pass.xml b/test/tests/gen/given-names-tests/given-names-test-3/pass.xml index 687eb599f8..7b4e22cbc4 100644 --- a/test/tests/gen/given-names-tests/given-names-test-3/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-3/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-4/fail.xml b/test/tests/gen/given-names-tests/given-names-test-4/fail.xml index 96bb514c80..e298009028 100644 --- a/test/tests/gen/given-names-tests/given-names-test-4/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-4/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-4/given-names-test-4.sch b/test/tests/gen/given-names-tests/given-names-test-4/given-names-test-4.sch index 391062e581..d7675c08be 100644 --- a/test/tests/gen/given-names-tests/given-names-test-4/given-names-test-4.sch +++ b/test/tests/gen/given-names-tests/given-names-test-4/given-names-test-4.sch @@ -1282,13 +1282,13 @@ - + given-names must not contain any formatting (bold, or italic emphasis, or smallcaps, superscript or subscript) - ''. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-4/pass.xml b/test/tests/gen/given-names-tests/given-names-test-4/pass.xml index 1376d36a2c..be443f1513 100644 --- a/test/tests/gen/given-names-tests/given-names-test-4/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-4/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-5/fail.xml b/test/tests/gen/given-names-tests/given-names-test-5/fail.xml index fcc574f4d6..0197556a55 100644 --- a/test/tests/gen/given-names-tests/given-names-test-5/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-5/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-5/given-names-test-5.sch b/test/tests/gen/given-names-tests/given-names-test-5/given-names-test-5.sch index bb6bcf51ea..683d4127e5 100644 --- a/test/tests/gen/given-names-tests/given-names-test-5/given-names-test-5.sch +++ b/test/tests/gen/given-names-tests/given-names-test-5/given-names-test-5.sch @@ -1282,13 +1282,13 @@ - + given-names should usually only contain letters, spaces, or hyphens. contains other characters. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-5/pass.xml b/test/tests/gen/given-names-tests/given-names-test-5/pass.xml index cfa999f67e..a3117eddfa 100644 --- a/test/tests/gen/given-names-tests/given-names-test-5/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-5/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-6/fail.xml b/test/tests/gen/given-names-tests/given-names-test-6/fail.xml index ce04680a87..abffb4170b 100644 --- a/test/tests/gen/given-names-tests/given-names-test-6/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-6/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-6/given-names-test-6.sch b/test/tests/gen/given-names-tests/given-names-test-6/given-names-test-6.sch index cf27c64de5..9cfde1f1c1 100644 --- a/test/tests/gen/given-names-tests/given-names-test-6/given-names-test-6.sch +++ b/test/tests/gen/given-names-tests/given-names-test-6/given-names-test-6.sch @@ -1282,13 +1282,13 @@ - + given-names doesn't begin with a capital letter - ''. Is this correct? - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-6/pass.xml b/test/tests/gen/given-names-tests/given-names-test-6/pass.xml index dbf032f59f..2d0b8f4883 100644 --- a/test/tests/gen/given-names-tests/given-names-test-6/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-6/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-7/fail.xml b/test/tests/gen/given-names-tests/given-names-test-7/fail.xml index 288a301def..ec24317805 100644 --- a/test/tests/gen/given-names-tests/given-names-test-7/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-7/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-7/given-names-test-7.sch b/test/tests/gen/given-names-tests/given-names-test-7/given-names-test-7.sch index d33269dd8a..dd30caa1da 100644 --- a/test/tests/gen/given-names-tests/given-names-test-7/given-names-test-7.sch +++ b/test/tests/gen/given-names-tests/given-names-test-7/given-names-test-7.sch @@ -1282,14 +1282,14 @@ - + given-names contains initialised full stop(s) which is incorrect - - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-7/pass.xml b/test/tests/gen/given-names-tests/given-names-test-7/pass.xml index 7d4000ef9f..2b3b29922b 100644 --- a/test/tests/gen/given-names-tests/given-names-test-7/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-7/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-8/fail.xml b/test/tests/gen/given-names-tests/given-names-test-8/fail.xml index ab50e3b27a..0144b7bc9a 100644 --- a/test/tests/gen/given-names-tests/given-names-test-8/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-8/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-8/given-names-test-8.sch b/test/tests/gen/given-names-tests/given-names-test-8/given-names-test-8.sch index 49a9159fa5..d00ad15213 100644 --- a/test/tests/gen/given-names-tests/given-names-test-8/given-names-test-8.sch +++ b/test/tests/gen/given-names-tests/given-names-test-8/given-names-test-8.sch @@ -1282,13 +1282,13 @@ - + given-names starts with a space, which cannot be correct - ''. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-8/pass.xml b/test/tests/gen/given-names-tests/given-names-test-8/pass.xml index e3980e28cd..3e26f8b4cb 100644 --- a/test/tests/gen/given-names-tests/given-names-test-8/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-8/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-9/fail.xml b/test/tests/gen/given-names-tests/given-names-test-9/fail.xml index 23ed37c58e..c82cef047d 100644 --- a/test/tests/gen/given-names-tests/given-names-test-9/fail.xml +++ b/test/tests/gen/given-names-tests/given-names-test-9/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/given-names-test-9/given-names-test-9.sch b/test/tests/gen/given-names-tests/given-names-test-9/given-names-test-9.sch index 6258e0b22c..8d42375e25 100644 --- a/test/tests/gen/given-names-tests/given-names-test-9/given-names-test-9.sch +++ b/test/tests/gen/given-names-tests/given-names-test-9/given-names-test-9.sch @@ -1282,13 +1282,13 @@ - + given-names ends with a space, which cannot be correct - ''. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/tests/gen/given-names-tests/given-names-test-9/pass.xml b/test/tests/gen/given-names-tests/given-names-test-9/pass.xml index 10e48bf49f..11f7f0f333 100644 --- a/test/tests/gen/given-names-tests/given-names-test-9/pass.xml +++ b/test/tests/gen/given-names-tests/given-names-test-9/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/pre-given-names-test-16/fail.xml b/test/tests/gen/given-names-tests/pre-given-names-test-16/fail.xml index ec9b5d283a..b59d00ccaf 100644 --- a/test/tests/gen/given-names-tests/pre-given-names-test-16/fail.xml +++ b/test/tests/gen/given-names-tests/pre-given-names-test-16/fail.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/pre-given-names-test-16/pass.xml b/test/tests/gen/given-names-tests/pre-given-names-test-16/pass.xml index c8dfeee808..c3d834bb5e 100644 --- a/test/tests/gen/given-names-tests/pre-given-names-test-16/pass.xml +++ b/test/tests/gen/given-names-tests/pre-given-names-test-16/pass.xml @@ -1,5 +1,5 @@ - diff --git a/test/tests/gen/given-names-tests/pre-given-names-test-16/pre-given-names-test-16.sch b/test/tests/gen/given-names-tests/pre-given-names-test-16/pre-given-names-test-16.sch index 25bf271057..cc75172b85 100644 --- a/test/tests/gen/given-names-tests/pre-given-names-test-16/pre-given-names-test-16.sch +++ b/test/tests/gen/given-names-tests/pre-given-names-test-16/pre-given-names-test-16.sch @@ -1282,13 +1282,13 @@ - + given-names contains brackets - ''. This will be flagged by Crossref (although will not actually cause any significant problems). Please add the following author query: Please confirm whether you are happy to remove the brackets around (one of) your given names - ''. This will cause minor issues at Crossref, although they can be retained if desired. - contrib-group//name/given-names must be present. + name/given-names must be present. \ No newline at end of file diff --git a/test/xspec/schematron.sch b/test/xspec/schematron.sch index 81396beafd..b1aa8a2e8e 100644 --- a/test/xspec/schematron.sch +++ b/test/xspec/schematron.sch @@ -1861,7 +1861,7 @@ - + given-names must not be empty. @@ -9460,7 +9460,7 @@ article-meta//contrib[@contrib-type='author']/xref must be present. contrib-group//name must be present. contrib-group//name/surname must be present. - contrib-group//name/given-names must be present. + name/given-names must be present. contrib-group//name/suffix must be present. contrib-group//name/* must be present. article-meta//contrib must be present.