Grammar doesn't state that in Step AxisSpecifier is optional, assumes child.

The grammar states:

[4]    Step    ::=    AxisSpecifier NodeTest Predicate*  
   | AbbreviatedStep  
[5]    AxisSpecifier    ::=    AxisName '::'  
   | AbbreviatedAxisSpecifier  

Which is confusing because this doesn't allow "node()" or "div" or many of
the other paths given as examples. You later state that the "child::" is
effectively the default.

I suggest changing Step to this:

[4]    Step    ::=    AxisSpecifier* NodeTest Predicate*  
   | AbbreviatedStep  

with a note that "child::" is assumed. A similar problem appears to exist in
xslt's grammar for Pattern.

Cheers,
Ben Liddicott
+44 (20) 7552 1263
GSNet: 8 755 21263

Received on Wednesday, 1 August 2001 10:09:20 UTC