tmiller 01/09/13 05:30:53
Modified: java/src/org/apache/xalan/xsltc/compiler xpath.cup
Log:
bug fix 3312 completed
Revision Changes Path
1.15 +6 -3 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.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- xpath.cup 2001/09/12 17:41:49 1.14
+++ xpath.cup 2001/09/13 12:30:53 1.15
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: xpath.cup,v 1.14 2001/09/12 17:41:49 tmiller Exp $
+ * @(#)$Id: xpath.cup,v 1.15 2001/09/13 12:30:53 tmiller Exp $
*
* Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
*
@@ -485,8 +485,9 @@
if (rlp instanceof ParentLocationPath) {
// GTM, bug fix 3312
Step nodeStep1 = new Step(Axis.DESCENDANTORSELF, -1, null);
- absLocPath = new AbsoluteLocationPath(
- new ParentLocationPath(nodeStep1, rlp));
+ ParentLocationPath parLocPath = new ParentLocationPath(nodeStep1,
+ rlp);
+ absLocPath = new AbsoluteLocationPath(parLocPath);
}
else {
int nodeType = NodeTest.ELEMENT;
@@ -507,6 +508,8 @@
RESULT = new FilteredAbsoluteLocationPath(absLocPath);
:};
+
+
Step ::= NodeTest:ntest
{: RESULT = new Step(Axis.CHILD,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]