Skip to content

Commit

Permalink
Fixes to correct metaschema validation errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire authored and aj-stein-nist committed Jan 10, 2023
1 parent a199209 commit 84d2d46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/ci-cd/validate-metaschema.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fi
metaschema_toolchain="${OSCALDIR}/build/metaschema/toolchains/xslt-M4"
schematron="${metaschema_toolchain}/validate/metaschema-composition-check.sch"
compiled_schematron="${metaschema_toolchain}/validate/metaschema-composition-check-compiled.xsl"
metaschema_xsd="${metaschema_toolchain}/validate/metaschema.xsd"
metaschema_xsd="${OSCALDIR}/build/metaschema/schema/xml/metaschema.xsd"

build_schematron "$schematron" "$compiled_schematron"
cmd_exitcode=$?
Expand Down
2 changes: 1 addition & 1 deletion build/metaschema
2 changes: 1 addition & 1 deletion src/metaschema/oscal_assessment-common_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
<assembly ref="link" max-occurs="unbounded">
<group-as name="links" in-json="ARRAY"/>
</assembly>
<field ref="risk-status" as-type="token" min-occurs="1">
<field ref="risk-status" min-occurs="1">
<use-name>status</use-name>
</field>
<assembly ref="origin" max-occurs="unbounded">
Expand Down

0 comments on commit 84d2d46

Please sign in to comment.