From a5391a0f80f17abcea01502ef825d6ddf7bb1e2f Mon Sep 17 00:00:00 2001 From: fordmadox Date: Sun, 20 Mar 2022 17:54:51 -0400 Subject: [PATCH] Schematron tests (#286) * use ietf regardless of script encoding choice * check dates filter added * a few more date refinements * update schematron slightly * update intro * update build before generating new beta release * Revert "update build before generating new beta release" This reverts commit 7212b79fcbea69e376acf3011f8c7db5ead466c9. * update schematron tests in correct file * update build before new test release --- source/modules/schematron/shared-rules.sch | 51 +++++++++++++++------- source/release-info/intro.xml | 6 ++- source/release-info/metadata.json | 2 +- xml-schemas/eac-cpf/eac.rng | 6 ++- xml-schemas/eac-cpf/eac.xsd | 6 ++- xml-schemas/eac-cpf/schematron/eac.sch | 51 +++++++++++++++------- 6 files changed, 88 insertions(+), 34 deletions(-) diff --git a/source/modules/schematron/shared-rules.sch b/source/modules/schematron/shared-rules.sch index d18582d..6a4cf61 100644 --- a/source/modules/schematron/shared-rules.sch +++ b/source/modules/schematron/shared-rules.sch @@ -12,22 +12,23 @@ - - - + + - - + + + + @@ -47,7 +48,7 @@ The element's lang or langcode attribute should contain a value from the 'ietf-bcp-47' codelist. - + @@ -121,7 +122,7 @@ - + @@ -131,7 +132,7 @@ The maintenanceAgency element requires either an agencyCode or agencyName element that cannot be empty. - + The eventDateTime element requires either a standardDateTime attribute or text. @@ -146,16 +147,36 @@ - + - - - - - - + + + + + + + + The notBefore, notAfter, and standardDate attributes of must be a iso8601 date. diff --git a/source/release-info/intro.xml b/source/release-info/intro.xml index cd9d3d8..be772b7 100644 --- a/source/release-info/intro.xml +++ b/source/release-info/intro.xml @@ -12,7 +12,7 @@ * * * EAC-CPF 2.0 * * * - * 2021 November 2 * + * 2022 March 20 * * * ***************************************************************** @@ -37,6 +37,10 @@ Comments, questions, and suggestions may be addressed to: ts-eas@archivists.org + + EAC-CPF Team Lead: Silke Jagodzinski + + Schema Team Lead: Mark Custer ***************************************************************** ***************************************************************** diff --git a/source/release-info/metadata.json b/source/release-info/metadata.json index 3916ae2..3299862 100644 --- a/source/release-info/metadata.json +++ b/source/release-info/metadata.json @@ -1,7 +1,7 @@ [ { "name": "EAC-CPF", - "date": "2021-11-02", + "date": "2022-03-20", "lead": "Silke Jagodzinski", "team": [], "schema-team": [], diff --git a/xml-schemas/eac-cpf/eac.rng b/xml-schemas/eac-cpf/eac.rng index 42ba62b..dfa72bc 100644 --- a/xml-schemas/eac-cpf/eac.rng +++ b/xml-schemas/eac-cpf/eac.rng @@ -10,7 +10,7 @@ * * * EAC-CPF 2.0 * * * - * 2021 November 2 * + * 2022 March 20 * * * ***************************************************************** @@ -35,6 +35,10 @@ Comments, questions, and suggestions may be addressed to: ts-eas@archivists.org + + EAC-CPF Team Lead: Silke Jagodzinski + + Schema Team Lead: Mark Custer ***************************************************************** ***************************************************************** diff --git a/xml-schemas/eac-cpf/eac.xsd b/xml-schemas/eac-cpf/eac.xsd index 9091d23..b0417bd 100644 --- a/xml-schemas/eac-cpf/eac.xsd +++ b/xml-schemas/eac-cpf/eac.xsd @@ -10,7 +10,7 @@ * * * EAC-CPF 2.0 * * * - * 2021 November 2 * + * 2022 March 20 * * * ***************************************************************** @@ -36,6 +36,10 @@ Comments, questions, and suggestions may be addressed to: ts-eas@archivists.org + EAC-CPF Team Lead: Silke Jagodzinski + + Schema Team Lead: Mark Custer + ***************************************************************** ***************************************************************** diff --git a/xml-schemas/eac-cpf/schematron/eac.sch b/xml-schemas/eac-cpf/schematron/eac.sch index d18582d..6a4cf61 100644 --- a/xml-schemas/eac-cpf/schematron/eac.sch +++ b/xml-schemas/eac-cpf/schematron/eac.sch @@ -12,22 +12,23 @@ - - - + + - - + + + + @@ -47,7 +48,7 @@ The element's lang or langcode attribute should contain a value from the 'ietf-bcp-47' codelist. - + @@ -121,7 +122,7 @@ - + @@ -131,7 +132,7 @@ The maintenanceAgency element requires either an agencyCode or agencyName element that cannot be empty. - + The eventDateTime element requires either a standardDateTime attribute or text. @@ -146,16 +147,36 @@ - + - - - - - - + + + + + + + + The notBefore, notAfter, and standardDate attributes of must be a iso8601 date.