Skip to content

Commit

Permalink
fixed issue where linux schematron rule had a prefix that started wit…
Browse files Browse the repository at this point in the history
…h unix
  • Loading branch information
djhaynes committed Nov 13, 2012
1 parent ea5fb62 commit 97b7733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux-definitions-schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@
<sch:assert test="not(preceding-sibling::linux-def:behaviors[@max_depth or @recurse or @recurse_direction])"><sch:value-of select="../@id"/> - the max_depth, recurse, and recurse_direction behaviors are not allowed with a filepath entity</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern id="unix-def_selinuxsecuritycontext_objectfilepath2">
<sch:pattern id="linux-def_selinuxsecuritycontext_objectfilepath2">
<sch:rule context="linux-def:selinuxsecuritycontext_object/linux-def:filepath[not(@operation='equals' or not(@operation))]">
<sch:assert test="not(preceding-sibling::linux-def:behaviors[@recurse_file_system='defined'])"><sch:value-of select="../@id"/> - the recurse_file_system behavior MUST not be set to 'defined' when a pattern match is used with a filepath entity.</sch:assert>
</sch:rule>
Expand Down

0 comments on commit 97b7733

Please sign in to comment.