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/04/10 22:33:37 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath/patterns NodeTest.java

mmidy       02/04/10 13:33:37

  Modified:    java/src/org/apache/xpath/operations Variable.java
               java/src/org/apache/xpath/patterns NodeTest.java
  Log:
  Change extended types to be an integer and use a structure with a localname, a namespace and a nodetype to represent the node extended type. We no longer need to do the shifting left and right that we did for the previous extended types.
  
  Revision  Changes    Path
  1.18      +1 -1      xml-xalan/java/src/org/apache/xpath/operations/Variable.java
  
  Index: Variable.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/operations/Variable.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Variable.java	22 Mar 2002 01:04:45 -0000	1.17
  +++ Variable.java	10 Apr 2002 20:33:37 -0000	1.18
  @@ -340,7 +340,7 @@
         vvar = prev.getStylesheetRoot().getVariableOrParamComposed(m_qname);
         if (null != vvar)
         {
  -        return vvar;;
  +        return vvar;
         }
   
       }
  
  
  
  1.23      +1 -1      xml-xalan/java/src/org/apache/xpath/patterns/NodeTest.java
  
  Index: NodeTest.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/patterns/NodeTest.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- NodeTest.java	22 Mar 2002 01:04:45 -0000	1.22
  +++ NodeTest.java	10 Apr 2002 20:33:37 -0000	1.23
  @@ -644,7 +644,7 @@
         return m_score;
   
       int nodeBit = (m_whatToShow & (0x00000001 
  -                   << ((expType >> ExpandedNameTable.ROTAMOUNT_TYPE) - 1)));
  +                   << ((dtm.getNodeType(context)) - 1)));
   
       switch (nodeBit)
       {
  
  
  

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