return QueryResult.createCorrectQuery(
pageId, xpaPageTitle.valueOf(node),
pageOldRevId, pageNewRevId);
} else if ("Failure".equalsIgnoreCase(result)) {
XPath xpaCaptcha = XPath.newInstance("./captcha");
Element captcha = (Element) xpaCaptcha.selectSingleNode(node);
if (captcha != null) {
XPath xpaType = XPath.newInstance("./@type");
CaptchaException exception = new CaptchaException("Captcha", xpaType.valueOf(captcha));
XPath xpaMime = XPath.newInstance("./@mime");
exception.setMime(xpaMime.valueOf(captcha));