You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/04/15 21:10:56 UTC
DO NOT REPLY [Bug 19038] -
Dynamic params ( as argument in java call)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19038>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19038
Dynamic params (<xsl:param..> as argument in java call)
------- Additional Comments From mkwan@ca.ibm.com 2003-04-15 19:10 -------
I think this is a limitation in the XSLTC compile model. XSLTC has to know the
exact type of a parameter that is passed to an extension function. In this
case, $contry is a xsl:param. Its type is not known at compile time. You can
workaround the problem by doing an explicit cast to string:
<xsl:variable name="locale" select="Locale:new($language, string($country))"/>