I have found some other issues on the spec and added these to my report:
bd. Predicate usage clarifications
At the end of the “predicates” section it says “A node predicate defines criteria on fine-grained data. It is only used within an identified path.”
From the predicates section, it is not clear that the predicates could be used only in the WHERE clause, and I think I’ve seen some predicates at the FROM, but in the specs there are no examples.
Then on: 3.8.1. Usage
“Identified paths are used to locate data items within an archetype RM class. Except for the FROM clause, an identified path could appear in any clauses of an AQL statement. For example, it can be used to indicate the data to be returned in a SELECT clause, or the data item on which query criteria are applied in a WHERE clause.”
So if predicates are only used within identified paths and identified paths can’t be used in the FROM, so the predicates could only be within the WHERE, is that correct? That is not explicitly stated in the spec.
de. Identified paths clarifications
In section 3.8 Identified paths there is no actual definition of what an identified path is.
Also says “Identified paths are used to locate data items within an archetype RM class. Except for the FROM clause…”
Then “AQL identified path can take any of the following forms: an AQL variable name defined within the FROM clause, …”
Aren’t those contradictory statements?