You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/11/23 04:19:39 UTC

DO NOT REPLY [Bug 14523] - SetNextRule can't convert type authomatically

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

SetNextRule can't convert type authomatically

craig.mcclanahan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From craig.mcclanahan@sun.com  2002-11-23 03:19 -------
Unfortunately, the code you suggest will not work.  The two-arg version of
ConvertUtils.convert() takes a String and a Class, whereas the first argument
inside SetNextRule is actually an Object.  And, arbitrarily converting this to a
String will cause failures in many existing use cases for Digester that really
do need the objects pushed on the stack not to be modified.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>