Hi Matthieu,

I have been trying to get some BPEL unit tests running and have run into
some trouble with XPaths. I would like to ask a couple of questions on the
XPath20 implementation ...

1) XPath20ExpressionRuntime ( line 173 )

           Object evalResult = expr.evaluate(DOMUtils.newDocument(), type);

Does this imply that all xpath syntax must contain a variable reference?


2) It looks like you recently checked in a change to JaxpVariableResolver
that removed the following ...

               // Saxon expects a nodelist, everything else will result in
a wrong result...
               Document doc = DOMUtils.newDocument();
               doc.appendChild(doc.importNode(variableNode, true));
               return doc.getChildNodes();

for

               return variableNode.getChildNodes();


not sure why but this has caused my unit test to break. I can dig into this
more but I just wanted to ping you first.


Thanks for your help,

Lance

Reply via email to