Skip to content

Commit

Permalink
Fix predicate in InCommon metadata ruleset
Browse files Browse the repository at this point in the history
From commit hash ukf/ukf-testbed/5d0dfc391912d709d0bd8337c297d8b30e862ac9

See ukf/ukf-meta#416 for details
  • Loading branch information
Phil Smart committed Apr 16, 2024
1 parent 5d6c11b commit 79be026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdx/_rules/check_incmd.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</xsl:call-template>
</xsl:template>

<xsl:template priority="2" match="@incmd:contactType[not(starts-with(.,'http://'))][not(starts-with(.,'https://'))]">
<xsl:template priority="2" match="@incmd:contactType[not((starts-with(.,'http://')) or (starts-with(.,'https://')))]">
<xsl:call-template name="error">
<xsl:with-param name="m">incmd:contactType must be an absolute URI</xsl:with-param>
</xsl:call-template>
Expand Down

0 comments on commit 79be026

Please sign in to comment.