Skip to content

Commit

Permalink
Merge pull request #285 from SAA-SDT/schematron-tests
Browse files Browse the repository at this point in the history
Schematron tests
  • Loading branch information
fordmadox committed Feb 24, 2022
2 parents 3d4b560 + 8f2fe1d commit b8670d9
Show file tree
Hide file tree
Showing 14 changed files with 57,250 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/generate-schemas.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ java %parameters% %CP% net.sf.saxon.Transform -s:..\xml-schemas\eac-cpf\eac.xsd
java %parameters% %CP% net.sf.saxon.Transform -s:..\xml-schemas\eac-cpf\eac.xsd -xsl:transformations\update-namespace-prefix-in-xsd.xsl -o:..\xml-schemas\eac-cpf\eac.xsd -warnings:silent

rem temporary. will change this later in case we need to process the schematron file before moving.

copy ..\source\modules\schematron\shared-rules.sch ..\xml-schemas\eac-cpf\schematron\eac.sch
copy ..\source\modules\schematron ..\xml-schemas\eac-cpf
move ..\xml-schemas\eac-cpf\schematron\shared-rules.sch ..\xml-schemas\eac-cpf\schematron\eac.sch

@echo All done.

Expand Down
3 changes: 2 additions & 1 deletion build/generate-schemas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ java -cp $saxon net.sf.saxon.Transform -s:../xml-schemas/eac-cpf/eac.xsd -xsl:tr
java -cp $saxon net.sf.saxon.Transform -s:../xml-schemas/eac-cpf/eac.xsd -xsl:transformations/update-namespace-prefix-in-xsd.xsl -o:../xml-schemas/eac-cpf/eac.xsd

# temporary. will change this later in case we need to process the schematron file before moving.
cp ../source/modules/schematron/shared-rules.sch ../xml-schemas/eac-cpf/schematron/eac.sch
cp -R ../source/modules/schematron ../xml-schemas/eac-cpf
mv ../xml-schemas/eac-cpf/schematron/shared-rules.sch ../xml-schemas/eac-cpf/schematron/eac.sch

echo "All done."
4,800 changes: 4,800 additions & 0 deletions source/modules/schematron/iso639-1.rdf

Large diffs are not rendered by default.

13,167 changes: 13,167 additions & 0 deletions source/modules/schematron/iso639-2.rdf

Large diffs are not rendered by default.

7,944 changes: 7,944 additions & 0 deletions source/modules/schematron/iso639-3.xml

Large diffs are not rendered by default.

Loading

0 comments on commit b8670d9

Please sign in to comment.