You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dm...@apache.org on 2004/01/24 03:16:19 UTC

cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri EvalContext.java

dmitri      2004/01/23 18:16:19

  Modified:    jxpath/src/java/org/apache/commons/jxpath/ri
                        EvalContext.java
  Log:
  Fixed a problem with passing collections as arguments and using getNodeSet in general
  
  Revision  Changes    Path
  1.28      +5 -5      jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/EvalContext.java
  
  Index: EvalContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/EvalContext.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- EvalContext.java	9 Oct 2003 21:31:38 -0000	1.27
  +++ EvalContext.java	24 Jan 2004 02:16:19 -0000	1.28
  @@ -284,7 +284,7 @@
           BasicNodeSet set = new BasicNodeSet();
           while (nextSet()) {
               while (nextNode()) {
  -                set.add(getCurrentNodePointer());
  +                set.add((Pointer)getCurrentNodePointer().clone());
               }
           }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org