You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by tm...@apache.org on 2001/09/07 13:55:53 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler xpath.cup
tmiller 01/09/07 04:55:53
Modified: java/src/org/apache/xalan/xsltc/compiler xpath.cup
Log:
updated comments from bug fix 2553
Revision Changes Path
1.12 +4 -13 xml-xalan/java/src/org/apache/xalan/xsltc/compiler/xpath.cup
Index: xpath.cup
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/xpath.cup,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- xpath.cup 2001/08/17 15:10:24 1.11
+++ xpath.cup 2001/09/07 11:55:53 1.12
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: xpath.cup,v 1.11 2001/08/17 15:10:24 tmiller Exp $
+ * @(#)$Id: xpath.cup,v 1.12 2001/09/07 11:55:53 tmiller Exp $
*
* Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
*
@@ -478,7 +478,7 @@
AbbreviatedAbsoluteLocationPath ::= DSLASH RelativeLocationPath:rlp
{:
- // GTM bug fix 2553. Still need to filter dups from list
+ // GTM bug fix 2553.
// Try to get node type and axis from the RelativeLocationPath
int nodeType = NodeTest.ELEMENT;
int axis = Axis.CHILD;
@@ -492,21 +492,12 @@
AbsoluteLocationPath path = new AbsoluteLocationPath(
new ParentLocationPath(nodeStep1, nodeStep2));
- // CASE I: no filtering, nodes OK but have dups,
- // results of test suite in file: 'REP_UNFILT'
+ // uncomment for no dup filtering. Used in debugging.
//RESULT = path;
- // CASE II: Filtered Abs Loc Path -
- // all tests fail except desOrSelf test,
- // results of test suite in file: 'REP-FILT'
+ // Filtered the Abs Loc Path to remove dups
RESULT = new FilteredAbsoluteLocationPath(path);
-
- // CASE III: Filtered Parent Loc Path -
- // ancestor and desOrSelf works, all others fail
- // results of test suite in file: 'REP-FAL-PLP'
- //RESULT = new FilteredAbsoluteLocationPath(
- // new ParentLocationPath(nodeStep1, nodeStep2));
:};
Step ::= NodeTest:ntest
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org