Skip to content

Commit

Permalink
this constraint should be simply a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
wandmagic authored and iMichaela committed Jan 28, 2025
1 parent 7619d61 commit 0232f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metaschema/oscal_catalog_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
referenced control.</enum>
</allowed-values>
<!-- TODO: add expect constraint to check for controls that reference themselves -->
<index-has-key name="catalog-groups-controls-parts"
<index-has-key name="catalog-groups-controls-parts" level="WARNING"
target="link[@rel=('related','required','incorporated-into','moved-to') and starts-with(@href,'#')]">
<key-field target="@href" pattern="#(.*)"/>
</index-has-key>
Expand Down

0 comments on commit 0232f66

Please sign in to comment.