Feels like spring should have done this
Merge pull request #810 from nraychaudhuri/810_xpath_fix

XPath.selectText regression