]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added specific error test for LIST passed to refineParsing().
authorPeter Bernard West <pbwest@apache.org>
Wed, 9 Oct 2002 05:53:30 +0000 (05:53 +0000)
committerPeter Bernard West <pbwest@apache.org>
Wed, 9 Oct 2002 05:53:30 +0000 (05:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195308 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/Properties.java

index ae26239702b865caf2ee552f2d69b5c297f6ce35..bddabef80132a5ec2f54f0558fcced9a6639bf45 100644 (file)
@@ -424,6 +424,11 @@ public abstract class Properties {
             if (pv == value) return value;  // unable to resolve
             // TODO: validate here
             return pv;
+        case PropertyValue.LIST:
+            System.out.println((PropertyValueList)value);
+            throw new PropertyException
+                ("PropertyValueList passed to Properties.refineParsing for "
+                + propName);
         default:
             if ( ! nested) {
                 if ((datatype & COMPOUND) != 0)