Skip to content

Commit

Permalink
Oops, spoke too soon: was not passing Test/, just Test2/. Now passing…
Browse files Browse the repository at this point in the history
… both sets of tests.
  • Loading branch information
sydb committed Oct 1, 2023
1 parent 239a71e commit 3ca367e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions odds/odd2dtd.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,7 @@ of this software, even if advised of the possibility of such damage.
<xsl:with-param name="sep">,</xsl:with-param>
</xsl:call-template>
<xsl:text>)</xsl:text>
<xsl:value-of select="tei:generateIndicators(., @minOccurs, @maxOccurs)"/>
<xsl:value-of select="tei:norMinMax(.)[4]"/>
</xsl:otherwise>
</xsl:choose>
</token>
Expand All @@ -1654,7 +1654,7 @@ of this software, even if advised of the possibility of such damage.
<xsl:text>(</xsl:text>
<xsl:value-of select="$innards/*" separator=","/>
<xsl:text>)</xsl:text>
<xsl:value-of select="tei:generateIndicators(., @minOccurs, @maxOccurs)"/>
<xsl:value-of select="tei:norMinMax(.)[4]"/>
</xsl:when>
<xsl:otherwise>
<token>
Expand All @@ -1666,7 +1666,7 @@ of this software, even if advised of the possibility of such damage.

<xsl:template match="tei:alternate">
<token>
<xsl:variable name="suffix" select="tei:generateIndicators(.,@minOccurs,@maxOccurs)"/>
<xsl:variable name="suffix" select="tei:norMinMax(.)[4]"/>
<xsl:text>(</xsl:text>
<xsl:call-template name="innards"/>
<xsl:text>)</xsl:text>
Expand All @@ -1693,8 +1693,7 @@ of this software, even if advised of the possibility of such damage.
<xsl:with-param name="id" select="@key"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="suffix"
select="tei:generateIndicators(.,@minOccurs,@maxOccurs)"/>
<xsl:variable name="suffix" select="tei:norMinMax(.)[4]"/>
<xsl:variable name="ename">
<xsl:choose>
<xsl:when test="self::tei:classRef and $exists=''">
Expand Down

0 comments on commit 3ca367e

Please sign in to comment.