Closed
Description
follow-up of #121
@dantleech said:
PHPCR\Query\InvalidQueryException: Syntax error: Expected ')', found '/home' in SELECT * FROM [nt:file] AS file INNER JOIN [nt:folder] AS folder ON ISSAMENODE(file, folder, [/home])
Caused by this:
$queries['6.7.9.SameNodeJoinCondition.Path_Space'] = array(
'SELECT * FROM [nt:file] AS file INNER JOIN [nt:folder] AS folder ON ISSAMENODE(file, folder, ["/home node"])',
'SELECT * FROM [nt:file] AS file INNER JOIN [nt:folder] AS folder ON ISSAMENODE(file, folder, [/home node])',
);
Why are there square brackets there? Is the spec suggesting that the square brackets are part of the grammer, or simply that it is an optional thing?