pbwest      2002/10/08 22:53:32

  Modified:    src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
                        Properties.java
  Log:
  Added specific error test for LIST passed to refineParsing().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.32  +8 -3      xml-fop/src/org/apache/fop/fo/Attic/Properties.java
  
  Index: Properties.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/Properties.java,v
  retrieving revision 1.1.2.31
  retrieving revision 1.1.2.32
  diff -u -r1.1.2.31 -r1.1.2.32
  --- Properties.java   4 Oct 2002 15:57:56 -0000       1.1.2.31
  +++ Properties.java   9 Oct 2002 05:53:30 -0000       1.1.2.32
  @@ -424,6 +424,11 @@
               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)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to