diff --git a/test-suite/metaschema-xspec/markdown-types/markdown-mix.xspec b/test-suite/metaschema-xspec/markdown-types/markdown-mix.xspec new file mode 100644 index 000000000..18f24637d --- /dev/null +++ b/test-suite/metaschema-xspec/markdown-types/markdown-mix.xspec @@ -0,0 +1,87 @@ + + + + + + + + + + + +

Here's some paragraph content.

+
+
+ + + +Here's some *paragraph* content. + +And a **second** paragraph. + + + + + + +

Here's some paragraph content.

+

And a second paragraph.

+
+
+ + + + + + * list item one + * list item two + * list item three + * list item four + - item 4 subitem 1 + - item 4 subitem 2 + + + + +
    +
  • list item one
  • +
  • list item two
  • +
  • list item three
  • +
  • list item four
      +
    • item 4 sub 1
    • +
    • item 4 sub 2
    +
  • +
+
+
+ + + * list item one +* list item two +* list item three +* list item four + - item 4 subitem 1 + - item 4 subitem 2 + + + + +
    +
  • list item one
  • +
  • list item two
  • +
  • list item three
  • +
  • list item four
      +
    • item 4 sub 1
    • +
    • item 4 sub 2
    +
  • +
+
+
+
+
diff --git a/test-suite/metaschema-xspec/markdown-types/markup-mix.xspec b/test-suite/metaschema-xspec/markdown-types/markup-mix.xspec new file mode 100644 index 000000000..b89911c38 --- /dev/null +++ b/test-suite/metaschema-xspec/markdown-types/markup-mix.xspec @@ -0,0 +1,39 @@ + + + + + + + + + + + +

Here's some paragraph content.

+
+ + Here's some *paragraph* content. + +
+ + + +

Here's some paragraph content.

+

And a second paragraph.

+
+ + Here's some *paragraph* content. + + And a **second** paragraph. + +
+ +
+
diff --git a/test-suite/metaschema-xspec/markdown-types/readme.md b/test-suite/metaschema-xspec/markdown-types/readme.md new file mode 100644 index 000000000..d1b9a4923 --- /dev/null +++ b/test-suite/metaschema-xspec/markdown-types/readme.md @@ -0,0 +1,17 @@ +# Metaschema processing XSpec testing - Markdown to Markup conversion and back + +Unit testing for Markdown processors supporting OSCAL Markdown. + +By defining edge cases, this aims to show a deterministic bidirectional mapping, or failing that a demonstration of where issues remain in defining or implementing such a mapping. + + +To run XSpec, we suggest either an XML IDE or a command line tool as described in [XSpec documentation in Github](https://github.com/xspec/xspec/wiki). + +## Markdown to markup + +File `markdown-mix.xspec` has two simple (working) cases and one currently breaking case. + +## Markup to Markdown + +File `markup-mix.xspec` has two simple (working) cases for demonstration. + diff --git a/test-suite/oscal/v1.0.0/metaschema-browser.xsl b/toolchains/xslt-M4/util/metaschema-browser.xsl similarity index 100% rename from test-suite/oscal/v1.0.0/metaschema-browser.xsl rename to toolchains/xslt-M4/util/metaschema-browser.xsl diff --git a/test-suite/oscal/v1.0.0/metaschema-poll.xsl b/toolchains/xslt-M4/util/metaschema-poll.xsl similarity index 100% rename from test-suite/oscal/v1.0.0/metaschema-poll.xsl rename to toolchains/xslt-M4/util/metaschema-poll.xsl