From fe83db2e23d3ea38bd496ea34e18c762ad202710 Mon Sep 17 00:00:00 2001 From: Wendell Piez Date: Tue, 17 Sep 2019 14:30:37 -0400 Subject: [PATCH] More adjustments in view of comments to #452 --- build/metaschema/json/md-oscal-converter.xsl | 12 +++++++----- .../char-handling/charstrings-test-xml-converter.xsl | 2 +- .../charstrings-test_okay-PASS-back.xml | 7 ++++--- .../char-handling/charstrings-test_okay-PASS.json | 10 ++++++---- .../char-handling/charstrings-test_okay-PASS.xml | 3 ++- build/metaschema/xml/produce-xml-converter.xsl | 12 +++++++----- 6 files changed, 27 insertions(+), 19 deletions(-) diff --git a/build/metaschema/json/md-oscal-converter.xsl b/build/metaschema/json/md-oscal-converter.xsl index 72d6d2b8d2..e7e9588a0f 100644 --- a/build/metaschema/json/md-oscal-converter.xsl +++ b/build/metaschema/json/md-oscal-converter.xsl @@ -336,10 +336,10 @@ " ' - &#2A; - < - &#7E; - &#5E; + * + ` + ~ + ^ @@ -462,7 +462,9 @@

**Markdown** and even " quoted text" and **more markdown**

- + +Just a plain old \* star, and another \* ... + See the FedRAMP Documents page under Key Cloud Service Provider (CSP) Documents, Plan of Action & Milestones (POA&M) Template Completion Guide [https://www.fedramp.gov/documents/](https://www.fedramp.gov/documents/) Paragraph, \n\nand new paragraph diff --git a/build/metaschema/unit-testing/char-handling/charstrings-test-xml-converter.xsl b/build/metaschema/unit-testing/char-handling/charstrings-test-xml-converter.xsl index 950ad1dbdd..cb450aae02 100644 --- a/build/metaschema/unit-testing/char-handling/charstrings-test-xml-converter.xsl +++ b/build/metaschema/unit-testing/char-handling/charstrings-test-xml-converter.xsl @@ -17,7 +17,7 @@ no - + diff --git a/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS-back.xml b/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS-back.xml index 99c71f4b7c..a9b0b1eda2 100644 --- a/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS-back.xml +++ b/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS-back.xml @@ -1,8 +1,9 @@ - Here's a string including punctuation ' " \ . $ - Here's a string with an ampersand & + Here\'s a string including punctuation \' \" \ . $ + Here\'s a string with an ampersand & Less-than and greater-than, as <delimiters> ... - The star aka asterisk * may be magical and maybe also the tick ` + The star aka asterisk \* may be magical and maybe also the tick \` Also, occasionally we have links and other markup. + And *sometimes*, we have \*very confusing stuff\* as well. diff --git a/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS.json b/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS.json index 23a0a98cb0..4e7c0b86d6 100644 --- a/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS.json +++ b/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS.json @@ -1,8 +1,10 @@ { "examples" : { "character-strings" : - [ "Here's a string including punctuation ' \" \\ . $", - "Here's a string with an ampersand &", + [ "Here\\'s a string including punctuation \\' \\\" \\ . $", + "Here\\'s a string with an ampersand &", "Less-than and greater-than, as ...", - "The star aka asterisk * may be magical and maybe also the tick `" ], - "markup-lines" : "Also, occasionally we have [links](w3.org) and *other markup*." } } \ No newline at end of file + "The star aka asterisk \\* may be magical and maybe also the tick \\`" ], + "markup-lines" : + [ "Also, occasionally we have [links](w3.org) and *other markup*.", + "And *sometimes*, we have \\*very confusing stuff\\* as well." ] } } \ No newline at end of file diff --git a/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS.xml b/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS.xml index 9a8f9beb3e..6cf216cdf0 100644 --- a/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS.xml +++ b/build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS.xml @@ -6,5 +6,6 @@ Here's a string with an ampersand & Less-than and greater-than, as <delimiters> ... The star aka asterisk * may be magical and maybe also the tick ` - Also, occasionally we have links and other markup. + Also, occasionally we have links and other markup. + And sometimes, we have *very confusing stuff* as well. \ No newline at end of file diff --git a/build/metaschema/xml/produce-xml-converter.xsl b/build/metaschema/xml/produce-xml-converter.xsl index 206c1f3b3d..9cfb5fc0c7 100644 --- a/build/metaschema/xml/produce-xml-converter.xsl +++ b/build/metaschema/xml/produce-xml-converter.xsl @@ -52,8 +52,8 @@ - + + no @@ -65,9 +65,11 @@ --> - - - + + + + +