-
Notifications
You must be signed in to change notification settings - Fork 19
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
Integrate use of oscal-prose-module.xsd in metaschema.xsd #187
Integrate use of oscal-prose-module.xsd in metaschema.xsd #187
Conversation
There are some issues in bidirectional conversion here that need to be specified before I can finish the tooling to support this. Specifically, when an image is given on its own line, this could be either Plus (relating to usnistgov/OSCAL#1151), determining that tools support the features defined should ultimately entail unit testing for Markdown conversions (new Issue?), along with a nice little specification (even a grammar?!) for OSCAL Markdown. Currently, Markdown conversions in the XSLT pipeline are handmade/bespoke, while in oscal-java an external library (with adjustments) is being used. This will not be sustainable for scaling across platforms. (Should we solicit interest in helping develop a grammar for OSCAL Markdown?) |
I know OSCAL has been in development for a few years, and the implementations and lack of standards around Markdown flavors has evolved somewhat. Is there, in fact an explicit idea of an OSCAL Markdown or you are proposing that now? If not existent yet, would it not be better if we target the emerging CommonMark specification? It appears the Java library we are using in metaschema-java that you reference is doing that too. I only point this out because it started in 2012 but did not see wider-spread adoption uptick until GitHub adopted it in 2019 over their specific GHFM variant, which is pretty late in OSCAL history. |
Would that it were even that simple. This is a discussion that has been going on for some time. A subset of CommonMark is probably wise. Every feature offered by any particular flavor or implementation of CommonMark (including arbitrary HTML)? -- maybe not. I say "OSCAL Markdown" not because I want to invent something new but because we are going to have to write some kind of spec. |
@wendellpiez I am creating a new develop branch to merge next-version Metaschema changes into. We can use this as an integration branch for further changes to our toolchains. I am going to merge this there. |
* refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
* refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
* refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
* refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
) * refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
) * refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
) * refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
) * refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
) * refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
) * refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
* refactored markup use in the Metaschema XSD to make use of the oscal-prose-module.xsd * Refactored prose module to allow img tags in markup. Resolves usnistgov/OSCAL#1132
Committer Notes
The markup support in the metaschema.xsd is fairly simple and incomplete. This PR replaces the current markup support with the markup data types provided by the oscal-prose-module.xsd.
All Submissions:
Changes to Core Features: