Patch by Seifeddine Dridi git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1544199 13f79535-47bb-0310-9956-ffa450edef68tags/fop-2_0
@@ -149,7 +149,7 @@ public abstract class FObj extends FONode implements Constants { | |||
String attributeName = attList.getQName(i); | |||
String attributeValue = attList.getValue(i); | |||
Property prop = propertyList.getPropertyForAttribute(attList, attributeName, attributeValue); | |||
if (prop.equals(value)) { | |||
if (prop != null && prop.equals(value)) { | |||
return attributeName; | |||
} | |||
} |