From 4f7fd6e791f976b8a60bfd8874c80f0e4a0575d5 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Thu, 3 Nov 2022 09:52:44 -0400 Subject: [PATCH] Add tests for usnistgov/metaschema#235 regression. --- .../issue_235_regression-metaschema.xml | 28 ++++ .../testing/issue_235_regression.xspec | 144 ++++++++++++++++++ 2 files changed, 172 insertions(+) create mode 100644 toolchains/xslt-M4/testing/issue_235_regression-metaschema.xml create mode 100644 toolchains/xslt-M4/testing/issue_235_regression.xspec diff --git a/toolchains/xslt-M4/testing/issue_235_regression-metaschema.xml b/toolchains/xslt-M4/testing/issue_235_regression-metaschema.xml new file mode 100644 index 000000000..01e13836b --- /dev/null +++ b/toolchains/xslt-M4/testing/issue_235_regression-metaschema.xml @@ -0,0 +1,28 @@ + + + issue-235-test-schema + 0.1 + oscal-value-testing-mini + http://csrc.nist.gov/ns/metaschema/unit-tests + http://csrc.nist.gov/ns/oscal + + Issue 235 Regression Test + A sample Metaschema definition for regression testing. + root + + + Field 1 + An example field with a flag constrained with optional values. + + + + + + + + + + + + + diff --git a/toolchains/xslt-M4/testing/issue_235_regression.xspec b/toolchains/xslt-M4/testing/issue_235_regression.xspec new file mode 100644 index 000000000..dc6fe0396 --- /dev/null +++ b/toolchains/xslt-M4/testing/issue_235_regression.xspec @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + https://example.com + + + + + + + + https://example.com + + + + + + + + + + + value2 + https://example.com + + + + + + + + value2 + https://example.com + + + + + + + + + + + value2 + + + + + + + + + value2 + + + + + + + + \ No newline at end of file