fix tests

This commit is contained in:
anna
2012-11-09 21:42:21 +01:00
parent 88738e43d6
commit abbcd4ccac
@@ -115,7 +115,7 @@ public class XsltSupport {
if (isXsltAttribute(attribute)) {
final String tagName = attribute.getParent().getLocalName();
final String s = XPATH_ATTR_MAP.get(name);
if (s != null && s.length() > 0 && !tagName.equals(s)) {
if ((s == null || s.length() > 0) && !tagName.equals(s)) {
if (!isAttributeValueTemplate(attribute, true)) {
return false;
}