xsl:with-param underspecified

Hello,

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

Example code:
<xslt:transform version="1.0" 
                xmlns:xslt="http://www.w3.org/1999/XSL/Transform">

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

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

</xslt:transform>

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,
Oliver


/-------------------------------------------------------------------\
|  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