Skip to content

failing tests after change for square brackets #131

Closed
@dbu

Description

@dbu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions