Default axis set according to the nodeTest (attribute:: for attribute() test and child:: in any other case)
authorkursj1
Mon, 13 Apr 2009 09:57:43 +0000
changeset 98 8882ccd7eaa0
parent 97 9b8aa55712d7
child 99 1c53cca6dbd7
Default axis set according to the nodeTest (attribute:: for attribute() test and child:: in any other case)
xquery/branches/datatypes/resources/xquery-parser.txt
--- a/xquery/branches/datatypes/resources/xquery-parser.txt	Mon Apr 13 09:56:39 2009 +0000
+++ b/xquery/branches/datatypes/resources/xquery-parser.txt	Mon Apr 13 09:57:43 2009 +0000
@@ -715,7 +715,7 @@
 	  	{
 			self informAboutRuleReduction:'AbbrevForwardStep2'.
 			XMLv2::XPathLocationStep new
-				axis: XMLv2::XPathAxisChild new;
+				setDefaultAxisFor: '1';
 				nodeTest: '1';
 				yourself
 		}