You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mm...@apache.org on 2002/10/29 20:36:54 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath/functions FuncBoolean.java

mmidy       2002/10/29 11:36:54

  Modified:    java/src/org/apache/xpath/functions Tag: xslt20
                        FuncBoolean.java
  Log:
  Fix class cast exception
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.6.2   +1 -1      xml-xalan/java/src/org/apache/xpath/functions/FuncBoolean.java
  
  Index: FuncBoolean.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/functions/FuncBoolean.java,v
  retrieving revision 1.5.6.1
  retrieving revision 1.5.6.2
  diff -u -r1.5.6.1 -r1.5.6.2
  --- FuncBoolean.java	28 Oct 2002 16:17:34 -0000	1.5.6.1
  +++ FuncBoolean.java	29 Oct 2002 19:36:54 -0000	1.5.6.2
  @@ -100,7 +100,7 @@
         }
         else
         {
  -        return ((XSequenceImpl)seq).bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
  +        return ((XObject)seq).bool() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
         }
       }
       return XBoolean.S_FALSE;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org