Hi,

As far as I know, property names with column (:) are invalid in XML. Change the 
name into location_source and try if it works that way. This is a common 
trouble when making WFS services from  OpenStreetMap data with loads of tags 
like address:street.

You may ask why tags with columns are OK in the OSM data which are also XML. 
Answer is that in OSM data tags are not property names, they are values.
<tag k="address:street" v="Main Street"/>

-Jukka Rahkonen-

José Alejandro Lugo García 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