String module = (moduleAtt == null ? null : moduleAtt.getStringValue());
exp = xpath.createExpression("/error/@line");
NodeInfo lineAtt = (NodeInfo)exp.evaluateSingle(root);
int line = (lineAtt == null ? -1 : Integer.parseInt(lineAtt.getStringValue()));
exp = xpath.createExpression("/error/@column");
NodeInfo columnAtt = (NodeInfo)exp.evaluateSingle(root);
int column = (columnAtt == null ? -1 : Integer.parseInt(columnAtt.getStringValue()));
ExpressionLocation locator = new ExpressionLocation();
locator.setSystemId(module);
locator.setLineNumber(line);
locator.setColumnNumber(column);