Skip to content

Commit

Permalink
Addressed port range implementation error issue #2023 and discussion …
Browse files Browse the repository at this point in the history
…board
  • Loading branch information
Michaela Iorga committed Aug 13, 2024
1 parent 2727d7d commit ea63b91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ vault
/OSCAL-dev.xpr
.vscode
.DS_Store
.history

# Working files
scratch
Expand Down
2 changes: 1 addition & 1 deletion src/metaschema/oscal_implementation-common_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
<expect level="WARNING" target="." test="exists(@end)" id="port-range-has-end">
<message>A port range should have an end port given. To define a single port, the start and end should be the same value.</message>
</expect>
<expect level="WARNING" target="." test="not(@start > @end)" id="port-range-starts-before-end">
<expect level="WARNING" target="." test="not(@start > @end)" id="port-range-starts-before-ends">
<message>The port range start should not be after its end.</message>
</expect>
</constraint>
Expand Down

0 comments on commit ea63b91

Please sign in to comment.