forked from usnistgov/OSCAL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More adjustments in view of comments to usnistgov#452
- Loading branch information
1 parent
48d4c97
commit 7fc973d
Showing
6 changed files
with
27 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS-back.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<examples xmlns="http://csrc.nist.gov/ns/metaschema/unit-test/datatypes-dateTime"> | ||
<charstring>Here's a string including punctuation ' " \ . $</charstring> | ||
<charstring>Here's a string with an ampersand &</charstring> | ||
<charstring>Here\'s a string including punctuation \' \" \ . $</charstring> | ||
<charstring>Here\'s a string with an ampersand &</charstring> | ||
<charstring>Less-than and greater-than, as <delimiters> ...</charstring> | ||
<charstring>The star aka asterisk * may be magical and maybe also the tick `</charstring> | ||
<charstring>The star aka asterisk \* may be magical and maybe also the tick \`</charstring> | ||
<markupline>Also, occasionally we have <a href="w3.org">links</a> and <em>other markup</em>.</markupline> | ||
<markupline>And *sometimes*, we have \*very confusing stuff\* as well.</markupline> | ||
</examples> |
10 changes: 6 additions & 4 deletions
10
build/metaschema/unit-testing/char-handling/charstrings-test_okay-PASS.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <delimiters> ...", | ||
"The star aka asterisk * may be magical and maybe also the tick `" ], | ||
"markup-lines" : "Also, occasionally we have [links](w3.org) and *other markup*." } } | ||
"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." ] } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters