Is it possible to use spaces in the property names in (E)CQL?

ECQL.toFilter("\"Test A\"=1");
complains with a
org.geotools.filter.text.cql2.CQLException: Encountered "\"" at line 1, column 
1.

I am not entirely sure what the specification says, but it looks like quoted 
identifiers should be able to contain anything but an (unescaped) quote, yet it 
seems space is explicitly disallowed, if I understand the source .jjt grammar 
files correctly.

(I am working with some exceedingly protocol-unfriendly property names which 
for convoluted reasons contain both punctuation, space and extended characters. 
The CQL/ECQL parsers seem to handle it all nicely, except the space).

Jes Wulfsberg Nielsen
------------------------------------------------------------------------------
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to