Jose Carlos Campanero
added a comment - 12/Apr/12 17:39 Michael, I attached a modified version of the patch: mostly everything works fine, but for phrase searching the implementation provided changes the phrase itself.
I changed line 50 of the patch to include blank spaces with "OR" in the following class method EvaluatorXPath:
public XPathBuilder textOr(List<XPathBuilder> ops) {
return new TextOpBuilder(ops, " OR " );
}
And the line 138, in the implementation of the method xPath() in TextOpBuilder:
sep = "" + RelOp + "" -> sep = RelOp;
I have eliminated also some strange characters that appear in the comments of the method escape() .
I attached also the test cases modified to include some tests about the new functionality.
Michael, I hope that this will solve the problem. Please, if you need anything, please tell me.
Thank you.