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/09/26 19:52:12 UTC

DO NOT REPLY [Bug 13237] - setParameter() does not work when using transformation chaining

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=13237>.
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=13237

setParameter() does not work when using transformation chaining





------- Additional Comments From richcao@ca.ibm.com  2003-09-26 17:52 -------
I'm not 100% sure, but I don't parameters can be used this way.

The identity transformer is used to perform a copy of the source to the result.
Since it is a copy, parameters would not be applied. (The parameters are put
into a hashtable so they can be retrieved if the user decides to use
getParameter()). So in this case, it would copy the output of the filter to the
result.

The transformation itself is being done by the filter, so if anything, we should
be setting the parameter from there. However, there isn't a way for us to do
that, so I'm not quite sure how we can produce the effect you are looking for.

But as it stands, I think the identity transformer is doing what it is supposed to.