Seems not need . I will check and remove
Thanks
Indika

On Wed, Feb 18, 2009 at 2:50 PM, Andreas Veithen
<[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to