Skip to content

Commit

Permalink
Fix multi predicate negation in check mdui
Browse files Browse the repository at this point in the history
From commit hash ukf/ukf-testbed/5b63d942e3a16596f9b569aef0738eacf30d753c

See ukf/ukf-meta#416 for details
  • Loading branch information
Phil Smart committed Apr 16, 2024
1 parent 954699a commit 4ded8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mdx/_rules/check_mdui.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
to the two defined container elements. This will catch mis-spelled containers.
-->
<xsl:template match="md:Extensions/mdui:*
[not(local-name()='UIInfo')][not(local-name()='DiscoHints')]">
[not(local-name()='UIInfo') and not(local-name()='DiscoHints')]">
<xsl:call-template name="error">
<xsl:with-param name="m">
<xsl:text>misspelled or misplaced mdui element within md:Extensions: </xsl:text>
Expand All @@ -71,7 +71,7 @@
</xsl:call-template>
</xsl:template>
<xsl:template match="md:Extensions[mdui:UIInfo]
[not(parent::md:IDPSSODescriptor)][not(parent::md:SPSSODescriptor)]">
[not(parent::md:IDPSSODescriptor or parent::md:SPSSODescriptor)]">
<xsl:call-template name="error">
<xsl:with-param name="m">
<xsl:text>UIInfo appearing outside SSO descriptor element (</xsl:text>
Expand Down

0 comments on commit 4ded8a6

Please sign in to comment.