Skip to content

Commit

Permalink
Fix multi-predicate support in check_mdiop ruleset
Browse files Browse the repository at this point in the history
From commit hash ukf/ukf-testbed/89589a98aea5c51a2cbd859d45f6bc08e0a00a67

See ukf/ukf-meta#416 for details
  • Loading branch information
Phil Smart committed Apr 16, 2024
1 parent 18aae5c commit f2b6adb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mdx/_rules/check_mdiop.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
Section 2.5.1: at least one representation must appear.
-->
<xsl:template match="md:KeyDescriptor
[not(ds:KeyInfo/ds:KeyValue)]
[not(ds:KeyInfo/ds:X509Data/ds:X509Certificate)]">
[not((ds:KeyInfo/ds:KeyValue) or (ds:KeyInfo/ds:X509Data/ds:X509Certificate))]">
<xsl:call-template name="error">
<xsl:with-param name="m">KeyDescriptor does not contain a key representation</xsl:with-param>
</xsl:call-template>
Expand Down

0 comments on commit f2b6adb

Please sign in to comment.