}
try {
JaxenXPathExpression expression = new JaxenXPathExpression();
expression.setXpath(text);
expression.setNamespaceContext(createNamespaceContext(configuration));
expression.afterPropertiesSet();
return new Condition[]{ new JaxenCondition(rule, expression) };
}
catch (Exception e) {
throw new FactoryException(e);
}