Skip to content

Commit

Permalink
bug(objectionary#268): count(as) not 0
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jan 26, 2025
1 parent f6d5c0b commit c86201c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ SOFTWARE.
<xsl:variable name="violates" as="xs:boolean">
<xsl:choose>
<xsl:when test="starts-with(@base, '.')">
<xsl:value-of select="count(o[position() > 1 and not(starts-with(@base, '.'))]) != count(o[@as]) and count(o[position() > 1 and not(starts-with(@base, '.'))]) != count(o[not(@as)])"/>
<xsl:value-of select="count(o[@as]) != 0 and count(o[position() > 1 and not(starts-with(@base, '.'))]) != count(o[@as]) and count(o[position() > 1 and not(starts-with(@base, '.'))]) != count(o[not(@as)])"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="count(o) != count(o[@as]) and count(o) != count(o[not(@as)])"/>
Expand Down

0 comments on commit c86201c

Please sign in to comment.