I am pretty sure you can get something past the CQL parser (it has been used 
with xpath queries right?).
The docs have the following example:

gmd:MD_Metadata.gmd:identificationInfo.gmd:MD_DataIdentification.gmd:abstract

Worst case scenario use:

brace:square:crazy_name

And then use a filter visitor to correct? Or if you really are accessing your 
own object type you can teach your property accessor to change things around.

Is there any chance you can use ECQL? I thought that was modifed to allow names 
to be quoted?


Jody

On 08/08/2010, at 6:17 AM, Jesse Eichar wrote:

> Its hard to explain the reasoning, but I have a feature with a terrible 
> attribute name but I need to  access it using CQL (a dynamic external 
> graphic).  The attribute name is basically {[crazy_name]} (including the {[ 
> characters).  Is there a way that I can escape the illegal characters in CQL? 
> or perhaps I have to create a property accessor to add the illegal character.
> 
> Thoughts?
> 
> Jesse
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to