You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Denis Haskin <De...@HaskinFerguson.net> on 2001/10/08 23:02:20 UTC

xsl:param with select not working in recent builds?

I'll ask this on the dev list if necessary, but does anyone know of any
recent bugs with specifying xsl:param default values with the select
attribute?  I could have sworn I used to be able to do this:

<xsl:param name="foo" select="'bar'"/>

but recent Xalan builds (I tried 2.1.0, 2.2D6 and 2.2D11) complain about
this with a message "xsl:param requires attribute: name".  If I rewrite
that to:

<xsl:param name="foo">
  bar
</xsl:param>

then Xalan is a happy camper.  I don't see any bugs listed that look
like this this.  Anyone seen this?

Much thanks,

dwh


Re: xsl:param with select not working in recent builds?

Posted by Denis Haskin <De...@HaskinFerguson.net>.
I wrote:

> I'll ask this on the dev list if necessary, but does anyone know of any
> recent bugs with specifying xsl:param default values with the select
> attribute?  I could have sworn I used to be able to do this:
>
> <xsl:param name="foo" select="'bar'"/>
>
> but recent Xalan builds (I tried 2.1.0, 2.2D6 and 2.2D11) complain about
> this with a message "xsl:param requires attribute: name".

It actually seems to be a Xerces problem, not Xalan.  I backed Xerces
off to
1.4.3 (I was using 2.0.0 beta2) and now this works.  I'll file a bug.

dwh