Closed wendellpiez closed 4 years ago
See requirements for metadata/oscal-version
(#57) for another data point to validate.
Also - when a flag is marked as 'primary' on a field, its value may not be equal to the names of any flags permitted on the same field. (Since this will blow up JSON conversion.)
User Story:
We are planning a more robust layer for extra-XSD validation of XML content by means of a declarations model or equivalent (see #46).
However, we already have a number of validations that could be usefully deployed in Schematron (possibly one each for catalogs and profiles), both for demonstration and to deliver useful functionality in the meantime.
At least the following could be validated:
oscal-links.sch
insrc/utils/schematron
xsd:dateTime
) with time zone (see #399)Goals:
Demonstrate Schematron validation. Provide more checking on these constraints pending a more generalized solution possibly working from Metaschema.
Dependencies:
Reasonably stable data.
Acceptance Criteria