| I'm trying to show labels for my layer using SLD style. Part responsible for labels looks like this: <TextSymbolizer> <Label> <ogc:PropertyName>MEDIANSSI(</ogc:PropertyName> </Label> </TextSymbolizer> Name of the column of shapefile that I'm using is "MEDIANSSI(" (bracket at the end) and it fails when I;m doing request with response from the server like: <?xml version="1.0" encoding="UTF-8"?><ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://geoserver.ds.mot.com:80/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd"> <ServiceException> The requested Style can not be used with this layer. The style specifies an attribute of MEDIANSSI( and the layer is: hs:mylayer </ServiceException></ServiceExceptionReport> If I'm generating label based on other columns (names without brackets) it works well. |