Skip to content

Commit

Permalink
Fix EntityAttributes rule predicate
Browse files Browse the repository at this point in the history
From commit hash ukf/ukf-testbed/dc8075c2e363823cf8bd9ea1fa286be51e007435

See ukf/ukf-meta#416 for details
  • Loading branch information
Phil Smart committed Apr 16, 2024
1 parent 4ded8a6 commit b171fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdx/_rules/check_mdattr.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</xsl:call-template>
</xsl:template>
<xsl:template match="md:Extensions[mdattr:EntityAttributes]
[not(parent::md:EntityDescriptor)][not(parent::md:EntitiesDescriptor)]">
[not(parent::md:EntityDescriptor or parent::md:EntitiesDescriptor)]">
<xsl:call-template name="error">
<xsl:with-param name="m">EntityAttributes must only appear within Extensions of EntityDescriptor or EntitiesDescriptor</xsl:with-param>
</xsl:call-template>
Expand Down

0 comments on commit b171fdf

Please sign in to comment.