Commit aed407c14bb67368f7ff1d691ee566e276ba9a32

Nick Wellnhofer 2017-05-25T16:57:14

Check for trailing characters in XPath expressions earlier Move the check for trailing characters from xmlXPathEval to xmlXPathEvalExpr. Otherwise, a valid portion of a syntactically invalid expression would be evaluated before returning an error.