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: [EMAIL PROTECTED]
  Reviewed by:  [EMAIL PROTECTED]
  
  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to