Browse Source

FOP-2317: crash when issuing warning for invalid property value

Patch by Seifeddine Dridi


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1544199 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_0
Vincent Hennebert 10 years ago
parent
commit
a8f6ee444c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/java/org/apache/fop/fo/FObj.java

+ 1
- 1
src/java/org/apache/fop/fo/FObj.java View File

@@ -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;
}
}

Loading…
Cancel
Save