Return-Path: Delivered-To: apmail-xml-xalan-cvs-archive@xml.apache.org Received: (qmail 12696 invoked by uid 500); 16 Oct 2001 11:41:19 -0000 Mailing-List: contact xalan-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: Delivered-To: mailing list xalan-cvs@xml.apache.org Received: (qmail 12685 invoked from network); 16 Oct 2001 11:41:18 -0000 Date: 16 Oct 2001 11:35:29 -0000 Message-ID: <20011016113529.46933.qmail@icarus.apache.org> From: morten@apache.org To: xml-xalan-cvs@apache.org Subject: cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler Mode.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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