I've noticed that ECQL.toCQL doesn't escape WKT keywords.  So
<PropertyName>point</PropertyName> is encoded to just point rather than
"point" or [point]. When this is parsed in turn, it is interpreted as a WKT
literal, although it's lacking the rest of the expression and so fails.

The bracket notation also fails to resolve this when parsing, it still
interprets [point] as being the start of a WKT literal rather than an
attribute name.  When double quoted ("point") it escapes against the WKT
interpretation as expected.

I may be missing something.  When I looked up the formal CQL spec hidden in
the CSW spec, i couldn't find any indication of either bracket or double
quote escaping of property names.  Were these added for ECQL?

-- 

Kevin Smith

Software Engineer | Boundless <http://boundlessgeo.com/>

[email protected]

+1-778-785-7459

@boundlessgeo <http://twitter.com/boundlessgeo/>


<http://twitter.com/boundlessgeo/>

[image: http://boundlessgeo.com/]
<http://boundlessgeo.com/>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to