From 3e5217fd16c311bbda73bd858c87a7cc52f1d3c3 Mon Sep 17 00:00:00 2001 From: Wendell Piez Date: Tue, 12 Apr 2022 13:11:30 -0400 Subject: [PATCH] Updating Metaschema Schematron XSpecs to functional state: they are now stable, addressing #47 --- .../metaschema-xspec/schematron/included_metaschema.xml | 5 +++-- .../metaschema-xspec/schematron/including_metaschema.xml | 1 + .../schematron/metaschema-basic-schematron.xspec | 2 +- .../schematron/metaschema-composition-schematron.xspec | 7 ++++--- .../schematron/problem01-module_metaschema.xml | 2 ++ .../metaschema-xspec/schematron/problem01_metaschema.xml | 1 + test-suite/metaschema-xspec/schematron/readme.md | 7 ++----- .../schematron/scope-local-imported_metaschema.xml | 5 +++-- .../schematron/scope-local-importing_metaschema.xml | 3 ++- toolchains/xslt-M4/compose/readme.md | 2 +- .../testing/4_pruning/prune-unused-definitions.xspec | 4 ++-- 11 files changed, 22 insertions(+), 17 deletions(-) diff --git a/test-suite/metaschema-xspec/schematron/included_metaschema.xml b/test-suite/metaschema-xspec/schematron/included_metaschema.xml index adac6640b..77c6144ed 100644 --- a/test-suite/metaschema-xspec/schematron/included_metaschema.xml +++ b/test-suite/metaschema-xspec/schematron/included_metaschema.xml @@ -1,14 +1,15 @@ Included Metaschema 1.0 included http://csrc.nist.gov/ns/oscal/1.0 - + http://csrc.nist.gov/ns/oscal/1.0 + Assembly that includes global and local flags This assembly includes a flag defined in this included metaschema module. diff --git a/test-suite/metaschema-xspec/schematron/including_metaschema.xml b/test-suite/metaschema-xspec/schematron/including_metaschema.xml index c5c459098..954692550 100644 --- a/test-suite/metaschema-xspec/schematron/including_metaschema.xml +++ b/test-suite/metaschema-xspec/schematron/including_metaschema.xml @@ -8,6 +8,7 @@ 1.0 including http://csrc.nist.gov/ns/oscal/1.0 + http://csrc.nist.gov/ns/oscal/1.0 diff --git a/test-suite/metaschema-xspec/schematron/metaschema-basic-schematron.xspec b/test-suite/metaschema-xspec/schematron/metaschema-basic-schematron.xspec index 09bc691e9..682da85db 100644 --- a/test-suite/metaschema-xspec/schematron/metaschema-basic-schematron.xspec +++ b/test-suite/metaschema-xspec/schematron/metaschema-basic-schematron.xspec @@ -6,7 +6,7 @@ - + true - - + @@ -30,7 +30,7 @@ - + Seeing assembly#nestedmessy:BOX REMOVING unused assembly definition for 'unused-assembly' from nestedmessy.