costin      2002/12/28 08:54:12

  Modified:    src/testcases/org/apache/tools/ant/taskdefs
                        XmlPropertyTest.java
  Log:
  
  
  Revision  Changes    Path
  1.4       +4 -2      
jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/XmlPropertyTest.java
  
  Index: XmlPropertyTest.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/XmlPropertyTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XmlPropertyTest.java      6 Nov 2002 08:43:46 -0000       1.3
  +++ XmlPropertyTest.java      28 Dec 2002 16:54:12 -0000      1.4
  @@ -290,8 +290,10 @@
               if (currentValue instanceof Path) {
               } else if (currentValue instanceof String) {
               } else {
  -                fail(msg + "-" + inputFile.getName() + " Key=" 
  -                     + currentKey + " is not a recognized type.");
  +                if( ! currentKey.startsWith("ant.") ) {
  +                    fail(msg + "-" + inputFile.getName() + " Key=" 
  +                         + currentKey + " is not a recognized type.");
  +                }
               }
           }
       }
  
  
  

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

Reply via email to