zongaro     2003/08/27 08:41:15

  Modified:    java/src/org/apache/xalan/templates FuncDocument.java
  Log:
  Applying patch for bug 19297 from Christine Li ([EMAIL PROTECTED]).  The
  document() function must treat the second argument as a node-set; it should
  not permit an argument of any other type.
  
  Revision  Changes    Path
  1.32      +2 -1      
xml-xalan/java/src/org/apache/xalan/templates/FuncDocument.java
  
  Index: FuncDocument.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/templates/FuncDocument.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- FuncDocument.java 25 Mar 2003 19:45:16 -0000      1.31
  +++ FuncDocument.java 27 Aug 2003 15:41:15 -0000      1.32
  @@ -156,7 +156,8 @@
         }
         else
         {
  -        base = arg2.str();
  +        //Can not convert other type to a node-set!;
  +        arg2.iter();
         }
       }
       else
  
  
  

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

Reply via email to