final String expr = tagConstraint.getSetGenerator()
.getExpression();
// TODO: optimize on the expression and cache for reuse
final XPathMatchingAlgorithm xpathAlg = new XPathMatchingAlgorithm(
expr);
AxiomaticSet set = null;
try
{
set = xpathAlg.evaluate(node);
// map dom nodes to tag identifiers
set = elem2TagIdMapper.map(set);
}
catch (final InvalidExpressionException e)
{