]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bug 25474--incorrect element name (table-column instead of fo:table-column) given...
authorGlen Mazza <gmazza@apache.org>
Sun, 14 Dec 2003 01:56:09 +0000 (01:56 +0000)
committerGlen Mazza <gmazza@apache.org>
Sun, 14 Dec 2003 01:56:09 +0000 (01:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197037 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/expr/PPColWidthFunction.java

index 8ae05d3e441251af6c471eb812387f7a48c063a3..1c66675c13725c8ca1a7d676140c5cb8cf99a6a4 100644 (file)
@@ -85,7 +85,7 @@ public class PPColWidthFunction extends FunctionBase {
             throw new PropertyException("Non numeric operand to "
                     + "proportional-column-width function");
         }
-        if (!pInfo.getPropertyList().getElement().equals("table-column")) {
+        if (!pInfo.getPropertyList().getElement().equals("fo:table-column")) {
             throw new PropertyException("proportional-column-width function "
                     + "may only be used on table-column FO");
         }