diff options
author | Glen Mazza <gmazza@apache.org> | 2004-06-16 23:40:58 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-06-16 23:40:58 +0000 |
commit | 4e89f502c93d90df557cea370776c70cc649f988 (patch) | |
tree | ea2ec6b0511bdbe2744fa4e320c9f922f8d37c2c /src/java/org/apache/fop/fo/expr/PPColWidthFunction.java | |
parent | b37712f267867898ce8760a378446f0f83cc1afb (diff) | |
download | xmlgraphics-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.java | 2 |
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"); } |