-
Notifications
You must be signed in to change notification settings - Fork 183
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
OSCAL 1.0.5 No longer accepts Georgian Format? #1774
Comments
I can confirm this anomaly using this schema — note the v1.0.5 branch in the URL: However, I'm seeing anomalous variants in different branches and tags. The XPath expression (evaluated using Saxon-PE 11.4) Contrast with — note the Contrast with this variant which asserts it is v1.0.4 and has a correct fractional second regex portion. |
We are waiting for an upstream PR to receive feedback and merge finalized changes for usnistgov/metaschema#379 to move up the submodule, resolve this issue, and create a follow-on release. |
Marking blocked until Metaschema PR reviewed and merged. |
* Update metaschema for 1.0.6 release This PR commit will update the Metaschema submodule to update. We need to update the underlying version of the MIMF to address the following: Closes #1773. Closes #1774. * Fix Metaschema XML schema URL Per @nikita-wootten-nist's feedback, fix this URL which has not been updated in either develop or main branches as the Metaschema 0.9.0 and directory restructuring occurred during the course of the drafting of the 1.0.6 release.
Closing with 1.0.6. pre-release. |
YAY!!! Is there an OSCAL CLI dev branch that I can test from? |
@Telos-sa, stay tuned, you are looking for the current commit of the https://github.com/usnistgov/OSCAL/releases/tag/v1.0.6 |
* Update metaschema for 1.0.6 release This PR commit will update the Metaschema submodule to update. We need to update the underlying version of the MIMF to address the following: Closes #1773. Closes #1774. * Fix Metaschema XML schema URL Per @nikita-wootten-nist's feedback, fix this URL which has not been updated in either develop or main branches as the Metaschema 0.9.0 and directory restructuring occurred during the course of the drafting of the 1.0.6 release.
Question
Validated the new 1.0.5 schema to see if we need to do any refactoring of the code.
Here is what it looks like in the SSP output:
2023-04-24T00:00:00.000Z
command run to validate with schema
xmllint -schema /Users/13503/Desktop/oscal_ssp_schema.xsd /Users/13503/Desktop/Xacta-SaaS_OSCAL-export_20230424/Xacta-SaaS_OSCAL-export_20230424.xml --noout
and the generated error.
/Users/13503/Desktop/Xacta-SaaS_OSCAL-export_20230424/Xacta-SaaS_OSCAL-export_20230424.xml:7: element last-modified: Schemas validity error : Element '{http://csrc.nist.gov/ns/oscal/1.0}last-modified': [facet 'pattern'] The value '2023-04-24T00:00:00.000Z' is not accepted by the pattern '(((2000|2400|2800|(19|20-9))-02-29)|(((19|2[0-9])[0-9]{2})-02-(0[1-9]|1[0-9]|2[0-8]))|(((19|2[0-9])[0-9]{2})-(0[13578]|10|12)-(0[1-9]|[12][0-9]|3[01]))|(((19|2[0-9])[0-9]{2})-(0[469]|11)-(0[1-9]|[12][0-9]|30)))T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(.[0-9]*[1-9])?(Z|(-((0[0-9]|1[0-2]):00|0[39]:30)|+((0[0-9]|1[0-4]):00|(0[34569]|10):30|(0[58]|12):45)))'.
/Users/13503/Desktop/Xacta-SaaS_OSCAL-export_20230424/Xacta-SaaS_OSCAL-export_20230424.xml:7: element last-modified: Schemas validity error : Element '{http://csrc.nist.gov/ns/oscal/1.0}last-modified': '2023-04-24T00:00:00.000Z' is not a valid value of the atomic type '{http://csrc.nist.gov/ns/oscal/1.0}oscal-metadata-last-modified-FIELD'.
Can it be confirmed if this structure is no longer accepted, and give an example of the expected structure, and/or determine if this is a bug?
The text was updated successfully, but these errors were encountered: