Hi Michael,

I thought you might be interested in this. I was experimenting a bit with numbering systems and tried the following template (xslt version 2.0, nothing else):

<xsl:template match="/">
  <out>
    <xsl:for-each select="0 to 25">
      <xsl:number value="." format=" &#x1D7CF;"/>
    </xsl:for-each>
  </out>
</xsl:template>

It raised the following error:

Engine name: Saxon-PE 9.4.0.3
Severity: fatal
Description: Failure writing to file:/pathtofile.html - Broken surrogate pair: first char 0xd835, second 0x30; illegal combination
Start location: 10:0

Not quite sure what's happening here. I didn't try other Saxon engines or builds.

Cheers,

Abel Braaksma