aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-06-16 23:40:58 +0000
committerGlen Mazza <gmazza@apache.org>2004-06-16 23:40:58 +0000
commit4e89f502c93d90df557cea370776c70cc649f988 (patch)
treeea2ec6b0511bdbe2744fa4e320c9f922f8d37c2c /src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
parentb37712f267867898ce8760a378446f0f83cc1afb (diff)
downloadxmlgraphics-fop-4e89f502c93d90df557cea370776c70cc649f988.tar.gz
xmlgraphics-fop-4e89f502c93d90df557cea370776c70cc649f988.zip
1. Valid node checking for LayoutMasterSet done.
2. Additional error message provided for missing required child elements of a node. 3. Removal of elementName from property list; redundant (retrievable via getFObj.getName()). Adding getName() to FObj so the element so fObj.getName() works. (Vielen Dank, Simon!) 4. Moving locator information from FObj to FONode so non-XSL NS elements will also have this information. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197720 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/expr/PPColWidthFunction.java')
-rw-r--r--src/java/org/apache/fop/fo/expr/PPColWidthFunction.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java b/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
index 6eefd2637..ccdbf9829 100644
--- a/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
+++ b/src/java/org/apache/fop/fo/expr/PPColWidthFunction.java
@@ -52,7 +52,7 @@ public class PPColWidthFunction extends FunctionBase {
throw new PropertyException("Non numeric operand to "
+ "proportional-column-width function");
}
- if (!pInfo.getPropertyList().getElement().equals("fo:table-column")) {
+ if (!pInfo.getPropertyList().getFObj().getName().equals("fo:table-column")) {
throw new PropertyException("proportional-column-width function "
+ "may only be used on table-column FO");
}