-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/test harness #2097
base: develop
Are you sure you want to change the base?
Feature/test harness #2097
Conversation
45daa28
to
cf39926
Compare
@wandmagic -- I love the idea of a 'style guide' layer. I do have a question about the use of absolute paths However that is a Metapath question and the real problem here is that the stack does not integrate the only tool that implements this, namely oscal-cli, or am I wrong and we now have a dependency on that, and hence a way to enforce, not just integrate a style guide? If so, do we want to add rules about constraints at the same time as the direction is supposed to be to remove constraints altogether? (Maybe yes, but this has not been asked tmk.) Finally, isn't a style guide something that calls for more discussion? Or has discussion occurred, but team members have not all been included or briefed? This is probably a question for @iMichaela, namely how is the direction to be set here. |
Yes I leave it up to nist to flesh out the style guide, my goal here is to give coverage for constraint id's being mandatory and a base line to work from to enforce formal names or any other constraints for style. |
NB: there is Schematron validation for Metaschema XML instances here: https://github.com/usnistgov/metaschema-xslt/tree/develop/src/validate It could be extended to provide the same logic as is presented in this PR (as Schematron rather than in the form of a Metaschema constraints set). From the OSCAL repository it is available as a submodule. |
I was able to completely deprecate the use of metaschama-xslt locally, so I'd rather not re-introduce it, but if you wish to leverage it instead feel free to edit the PR. |
Validating a metaschema (XML document) against a Schematron does not require metaschema-xslt. More broadly, the questions raised by this PR have less to do with the files being committed, being more about with alignments between the various tools, capabilities and expectations. For example, if metaschema-xslt is no longer needed, can it be dropped from the list of submodules? |
Committer Notes
Introduce test harness for style guide and integration testing
All Submissions:
By submitting a pull request, you are agreeing to provide this contribution under the CC0 1.0 Universal public domain dedication.
(For reviewers: The wiki has guidance on code review and overall issue review for completeness.)
Changes to Core Features: