You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jk...@apache.org on 2002/10/17 22:35:30 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath/types InstanceofExpr.java

jkesselm    2002/10/17 13:35:30

  Modified:    java/src/org/apache/xpath/types Tag: xslt20
                        InstanceofExpr.java
  Log:
  minor doc change
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1.2.2 +5 -7      xml-xalan/java/src/org/apache/xpath/types/Attic/InstanceofExpr.java
  
  Index: InstanceofExpr.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/types/Attic/InstanceofExpr.java,v
  retrieving revision 1.1.2.1.2.1
  retrieving revision 1.1.2.1.2.2
  diff -u -r1.1.2.1.2.1 -r1.1.2.1.2.2
  --- InstanceofExpr.java	19 Sep 2002 21:43:30 -0000	1.1.2.1.2.1
  +++ InstanceofExpr.java	17 Oct 2002 20:35:30 -0000	1.1.2.1.2.2
  @@ -1,5 +1,3 @@
  -/* Generated By:JJTree: Do not edit this line. Instanceof.java */
  -
   package org.apache.xpath.types;
   
   import java.io.PrintStream;
  @@ -176,11 +174,11 @@
    				isInstance && next!=null;
    				next=valNodeSet.next(),++len)
    			{
  -        int handle = next.getNodeHandle();
  -        if(DTM.NULL == handle)
  -          continue;
  - 				if(m_whatToShow!=0)
  - 				{
  +		        int handle = next.getNodeHandle();
  +		        if(DTM.NULL == handle)
  +		          continue;
  +		 		if(m_whatToShow!=0)
  +		 		{
    					int nodetype=xctxt.getDTM(handle).getNodeType(handle);
    					if(0==(m_whatToShow & 1<<(nodetype-1)))
    						isInstance=false;
  
  
  

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