Some ID Filters are not escaped by ECQL.toCQL

Description

While serializing, ID filters, only id strings which contain a '.' are escaped with single quotes. From reading the EBNF (http://docs.codehaus.org/display/GEOTOOLS/ECQL+Parser+Design#ECQLParserDesign-IDPredicate - http://docs.codehaus.org/display/GEOTOOLS/ECQL+Parser+Design#ECQLParserDesign-IDPredicate), I think that only strings of numbers should remain unquoted.

Environment

None

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Medium
Configure