This commit is contained in:
Dmitry Jemerov
2012-11-09 20:19:46 +01:00
parent 89b5053816
commit 6cd178bca0
@@ -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.length() > 0 && !tagName.equals(s)) {
if (s != null && s.length() > 0 && !tagName.equals(s)) {
if (!isAttributeValueTemplate(attribute, true)) {
return false;
}