Skip to content

Commit

Permalink
xsl:sequence to avoid warning from latest saxon
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Nov 9, 2018
1 parent c27d190 commit 184fca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unicodedata.xsl
Expand Up @@ -20,7 +20,7 @@
-->
<xsl:variable name="UD" select="tokenize(unparsed-text('UnicodeData-11.0.0.txt'),'[&#10;&#13;]+')"/>
<xsl:variable name="uc" select="doc('unicode.xml')"/>

<xsl:variable name="comb" select="doc('combine.xml')"/>
<!--
<xsl:variable name="MC" select="'MathClass-11.txt'"/>
<xsl:variable name="MC" select="'MathClass-13.txt'"/>
Expand Down Expand Up @@ -100,7 +100,7 @@ d:hexs(@c)

<xsl:function name="d:hex" as="xs:integer">
<xsl:param name="x"/>
<xsl:value-of
<xsl:sequence
select="if (empty($x)) then 0 else ($x[last()] + 16* d:hex($x[position()!=last()]))"/>
</xsl:function>

Expand Down

0 comments on commit 184fca2

Please sign in to comment.