Skip to content

Inconsistent ParseException: foo bar.baz #7

Description

@julianladisch

All these four cql expressions result in the same parse tree when sent to new CQLParser().parse(cql).toXCQL():

foo bar
"foo bar"
cql.serverChoice=foo bar
cql.serverChoice="foo bar"

When sending these other four cql expressions only the two quoted work, the two unquoted result in CQLParseException: expected index or term, got EOF:

foo bar.baz
"foo bar.baz"
cql.serverChoice=foo bar.baz
cql.serverChoice="foo bar.baz"

This is inconsistent. Either accept all unquoted or no unquoted expressions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions