On Thu, 19 Apr 2001, Noel Sebastien wrote:

> Hello,
> 
> It seems that addCallParam push a String on the stack, why ? It is very
> annoying for my program. How can I by pass that problem ?
> 
> 
> I would like to parse the following XML :
> 
>       <connector name="MQ1" className="connector.MqJmsConnector">
>               <config configClassName="connector.JmsConnectorConfig">
>                       <attribute name="pooledSessionInitNb" value="3"/>
>               </config>
>       </connector>
> 
> 1/ first : I push my global object on stack (digester.push)
> 2/ on config tag : create configClassName object with nested attribute (new
> Object on Digester Stack with addObjectCreate and addSetProperty).
> Before automatically pop, I do a addSetNext to store newly object reference
> to global object.
> 
> 3/ on connector end tag I would like to run a method with name and className
> parameters : so I use addCallMethod et 2 addCallParam on connector pattern,
> BUT
> addCallParam push a String on stack and my previous AddSetNext is now
> launched on that String instead of the global object !!!! Thus I receive
> that InternalError !!!
> 
> I can't believe it is impossible !! Does somebody have any idea ?
> Please,
> Thanks,
> 

Could you describe the exact rules you are trying to use?  It's not
possible to answer your questions just from this description.

> S�bastien
> 

Craig

Reply via email to