xsl:with-param underspecified


I believe that xsl:with-param is underspecified.
It is not an error to use the same parameter more than once - but it

Example code:
<xslt:transform version="1.0" 

<xslt:template match="/">
   <xslt:call-template name="check">
      <xslt:with-param name="x" select="1" />
      <xslt:with-param name="x" select="2" />

<xslt:template name="check">
   <xslt:param name="x" />
   <xslt:value-of select="$x" />


What should a conformant XSLT processor output?
I tested the stylesheet with XT, Saxon 5.3.2 and LotusXSL/Xalan 1.0.1.
XT and Saxon output 1, LotusXSL outputs 2.

Best regards,

|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@informatik.hu-berlin.de             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |

Received on Thursday, 29 June 2000 05:49:04 UTC