Thanks Andrea and Fernando: 

I see. Finally I had to change the column name on the database. 

best regards, 

Alex. 

----- Original Message -----

From: "Andrea Aime" <[email protected]> 
To: <[email protected]> 
Cc: "GeoServer Mailing List List" <[email protected]> 
Sent: Monday, October 13, 2014 12:29:20 PM 
Subject: Re: [Geoserver-users] Problem filtering PropertyName with special 
character on it 

You cannot have a ":" in the name of an attribute. Pretty much anything that 
would make 
the name an invalid xml element name must be avoided 

Cheers 
Andrea 

On Mon, Oct 13, 2014 at 8:02 PM, José Alejandro Lugo García < [email protected] > 
wrote: 



Hi! 

I have a problem about passing values on PropertyName which contains some 
special character on it. For example, currently I want to filter something like 
this: 

<ogc:PropertyIsEqualTo> 
<ogc:PropertyName>'location:source'</ogc:PropertyName> 
<ogc:Literal>something</ogc:Literal> 
</ogc:PropertyIsEqualTo> 

...but I received this exception from GeoServer log: The requested Style can 
not be used with this layer. The style specifies an attribute of 
'location:source'. I tried with removing single quotes, adding double quotes 
around PropertyName values and nothing so far. 

I really appreciate the help you can give me. 

Alex. 




------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to