Hello Mauricio,

Does the OGC specification that allows only Latin characters apply to
the entire CQL string or just to the field names?

Really am surprised on how short-sighted the OGC can be in this case.


Mario.


On Mon, Aug 9, 2010 at 9:45 PM, Mauricio Pazos <[email protected]> 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
>
> ------------------------------------------------------------------------------
> 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
>

------------------------------------------------------------------------------
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