title: XSLT 2.0: Tokenize does not work on period character (full stop / dot)
body: <p>XSLT's tokenize function is not working as I expected when tokenizing on a period character '.'</p>
  
  <p>--</p>
  
  <p>Here is an example of what happens when I tokenize over a comma character:</p>
  
  <p>XML file:</p>
  
  <pre><code>&lt;value&gt;a,b,c&lt;/value&gt;
  </code></pre>
  
  <p>XSLT file:</p>
  
  <pre><code>&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"&gt;
     &lt;xsl:template match="/"&gt;
        &lt;firsttoken&gt;&lt;xsl:value-of select="tokenize(/value,',')[1]" /&gt;&lt;/firsttoken&gt;
     &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>&lt;firsttoken&gt;a&lt;/firsttoken&gt;
  </code></pre>
  
  <p>--</p>
  
  <p>Here is the same example but tokenizing over a period character:</p>
  
  <p>XML file:</p>
  
  <pre><code>&lt;value&gt;a.b.c&lt;/value&gt;
  </code></pre>
  
  <p>XSLT file:</p>
  
  <pre><code>&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"&gt;
     &lt;xsl:template match="/"&gt;
        &lt;firsttoken&gt;&lt;xsl:value-of select="tokenize(/value,'.')[1]" /&gt;&lt;/firsttoken&gt;
     &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>&lt;firsttoken/&gt;
  </code></pre>
  
  <p>--</p>
  
  <p>I can't work out why it works for commas but not for period.</p>