xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mor...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler Mode.java
Date Tue, 16 Oct 2001 11:35:29 GMT
morten      01/10/16 04:35:29

  Modified:    java/src/org/apache/xalan/xsltc/compiler Mode.java
  Log:
  Fix to prevent attribute nodes to be included by the node() pattern.
  PR:		n/a
  Obtained from:	n/a
  Submitted by:	morten@xml.apache.org
  Reviewed by:	morten@xml.apache.org
  
  Revision  Changes    Path
  1.10      +3 -3      xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Mode.java
  
  Index: Mode.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Mode.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Mode.java	2001/10/16 11:02:20	1.9
  +++ Mode.java	2001/10/16 11:35:29	1.10
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: Mode.java,v 1.9 2001/10/16 11:02:20 morten Exp $
  + * @(#)$Id: Mode.java,v 1.10 2001/10/16 11:35:29 morten Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -631,9 +631,9 @@
   
   	// (*) Handle template with explicit "@*" pattern
   	final TestSeq attrTest = _testSeq[DOM.ATTRIBUTE];
  -	InstructionHandle ihAttr = ihText;
  +	InstructionHandle ihAttr = ihLoop;
   	if (attrTest != null)
  -	    ihAttr = attrTest.compile(classGen, methodGen, ihText);
  +	    ihAttr = attrTest.compile(classGen, methodGen, ihAttr);
   
   	// Do tests for id() and key() patterns first
   	InstructionList ilKey = null;
  
  
  

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


Mime
View raw message