commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kris Nuttycombe" <Kris.Nuttyco...@noaa.gov>
Subject Re: XML call-param-rule attribute "from-stack" crippled in Digester?
Date Tue, 28 Dec 2004 22:05:57 GMT
You mean like this method?

http://jakarta.apache.org/commons/digester/commons-digester-1.6/docs/api/org/apache/commons/digester/Digester.html#addCallParam(java.lang.String,%20int,%20int)

Kris

Blake Meike wrote:

>Hi,
>  It looks to me as if, the "from-stack" attribute for the
>"call-param-rule" element, used in the XML specification of Digester
>rules is unnecessarily crippled.
>
>  It appears that the argument to "from-stack" is expected to be "true"
>or "false", and is converted to a boolean.  That means that it is
>impossible to specify anything other than the top of the stack ("this"
>to the object that is the target of the soon-to-come "call-method-rule")
>as a parameter.
>
>  If the argument were, instead, integer, and converted to an int, it
>would, much more usefully, allow the specification of an arbitrary
>object from the stack, as does its programmatic analogue.
>
>  Is the oversite mine, or in the code? :)
>
>Blake Meike
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
>  
>

-- 
=====================================================
Kris Nuttycombe
Associate Scientist
Geospatial Data Services Group
CIRES, National Geophysical Data Center/NOAA
(303) 497-6337
Kris.Nuttycombe@noaa.gov
=====================================================



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message