Labels fails when using SLD TextSymbolizer based on column with bracket "("

Description

I'm trying to show labels for my layer using SLD style. Part responsible for labels looks like this:

<TextSymbolizer>
<Label>
<ogcropertyName>MEDIANSSI(</ogcropertyName>
</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.

Environment

Windows Server 2008 R2

Assignee

Unassigned

Reporter

Piotr Blachnicki

Triage

Fix versions

None

Affects versions

Priority

Low
Configure