> @@ -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]