[xsl] Top-level Variables and Parameters (XSLT 1.0 spec, section 11.4)

Subject: [xsl] Top-level Variables and Parameters (XSLT 1.0 spec, section 11.4)
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Wed, 19 Aug 2009 15:57:30 +0200
The XSLT 1.0 spec says in 11.4:

  Both xsl:variable and xsl:param are allowed as top-level elements.
  A top-level variable-binding element declares a global variable
  that is visible everywhere. A top-level xsl:param element declares
  a parameter to the stylesheet; XSLT does not define the mechanism
  by which parameters are passed to the stylesheet. It is an error
  if a stylesheet contains more than one binding of a top-level
  variable with the same name and same import precedence.

http://www.w3.org/TR/xslt#variables

Does the statement defining an error condition apply to both
xsl:variable and xsl:param or only to xsl:variable?

I'm asking in order to know whether to file bugs against LibXSLT and
Xalan-J with regard to this error condition.

--
Michael Ludwig

Current Thread