Hi Mukul,

On 20/12/2025 17:40, Mukul Gandhi wrote:
     The mentioned XSL implementation issues, within your original mail
as cited within mail trail, have been fixed within Xalan's XSLT 3.0
development branch.

You may try verifying these fixes.


great work, thanks for the fixes.

I have found another issue, sorting a simple integer sequence doesn't work:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  version="3.0"
  xmlns:xs="http://www.w3.org/2001/XMLSchema";
  xmlns:map="http://www.w3.org/2005/xpath-functions/map";
  xmlns:array="http://www.w3.org/2005/xpath-functions/array";
  exclude-result-prefixes="#all"
  expand-text="yes">

  <xsl:param name="seq1" as="xs:integer*" select="(3, 1, 2)"/>

  <xsl:variable name="sorted-seq1" as="xs:integer*">
    <xsl:perform-sort select="$seq1">
      <xsl:sort select="."/>
    </xsl:perform-sort>
  </xsl:variable>

  <xsl:output method="xml" indent="yes"/>

  <xsl:template match="/*">
    <xsl:copy>
      <xsl:for-each select="$sorted-seq1">
        <item>{.}</item>
      </xsl:for-each>
    </xsl:copy>
  </xsl:template>

  <xsl:template match="/">
    <xsl:copy>
      <xsl:apply-templates/>
      <xsl:comment>Run with {system-property('xsl:vendor')} at {current-dateTime()}</xsl:comment>
    </xsl:copy>
  </xsl:template>

</xsl:stylesheet>


Fails with fatalError: java.lang.NumberFormatException; SystemID: file:///sheet.xsl; Line#: 29; Column#: 15

Reply via email to