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 2001/11/06 21:58:39 UTC
DO NOT REPLY [Bug 4428] -
Cannot use variable substitution inside the decimal-format parameters
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=4428>.
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=4428
Cannot use variable substitution inside the decimal-format parameters
------- Additional Comments From keshlam@us.ibm.com 2001-11-06 12:58 -------
I believe this is working as designed.
Variable substitution is part of the XPath expression syntax, and can be used
only where XSLT is expecting to see an expression.
xsl:decimal-format's seperator attibutes appear to be defined explicitly as
expecting char values, not expressions.
Unless we want to extend XSLT's syntax (and accept stylesheets which may not
execute elsewhere), I think we're stuck with that limitation. Might be a good
request to pass to the XSLT working group, however.
(I won't mark this as Invalid yet, since I'm not 110% sure of this answer and
would like someone to cross-check me.)