Hello Jesse: I have improved cql/ecql to support this feature. It is 
available in trunk.

Example: "crazy_name" like 'abc%'

cheers

On Monday 09 August 2010 02:45:50 pm Mauricio Pazos wrote:
> On Saturday 07 August 2010 10:17:21 pm 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
>
> Hi Jesse, I guess that your  crazy_name has local characters like
> characters with different types of accents or others.
>
> Unfortunately the OGC CQL specification only allows:
>
> <simple Latin letter> ::= <simple Latin upper case letter>
>
>                            | <simple Latin lower case letter>
>
> <simple Latin upper case letter> ::=
>        A | B | C | D | E | F | G | H | I | J | K | L | M | N | O
>
>        | P | Q | R | S | T | U | V | W | X | Y | Z
>
> <simple Latin lower case letter> ::=
>        a | b | c | d | e | f | g | h | i | j | k | l | m | n | o
>
>        | p | q | r | s | t | u | v | w | x | y | z
>
> I opened the following issue to solve that sort of problems
> http://jira.codehaus.org/browse/GEOT-3122
>
> The idea is to use the same SQL strategy, that is, using double quote
>
> "crazy_name"
>
> cheers

-- 
Mauricio Pazos
www.axios.es

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to