synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From indika kumara <indika.k...@gmail.com>
Subject Re: svn commit: r744814 - in /synapse/trunk/java/modules: core/src/main/java/org/apache/synapse/util/xpath/ extensions/src/main/java/org/apache/synapse/mediators/xquery/
Date Wed, 18 Feb 2009 10:20:31 GMT
Seems not need . I will check and remove
Thanks
Indika

On Wed, Feb 18, 2009 at 2:50 PM, Andreas Veithen
<andreas.veithen@gmail.com> wrote:
>> @@ -239,6 +240,11 @@
>>             Context context = new Context(contextSupport);
>>             context.setNodeSet(new SingletonList(env));
>>             return context;
>> +        } else if (obj instanceof OMNode) {
>> +            ContextSupport baseContextSupport = getContextSupport();
>> +            Context context = new Context(baseContextSupport);
>> +            context.setNodeSet(new SingletonList(obj));
>> +            return context;
>>         } else {
>>             return super.getContext(obj);
>>         }
>
> Indika,
>
> Is the above change in SynapseXPath really required? If it is, can you
> please also update the Javadoc of the method to explain in which way
> the handling of OMNode objects is different from plain AXIOMXPath?
>
> Regards,
>
> Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>

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


Mime
View raw message