Thank you, Ian! CDATA works like a charm. I should definetely spend some time
on studying XML features.
Geoserver’s sql views were an option but I wanted to resolve this one inside
the SLD.
>Среда, 14 октября 2020, 16:27 +03:00 от Ian Turton <[email protected]>:
>
>The XML parser will eat spare spaces even inside literals but if you wrap it
>in a <![CDATA[ ]]> block it should survive the parser.
>
>Ian
>On Wed, 14 Oct 2020 at 12:58, Ярослав Минин via Geoserver-users <
>[email protected] > wrote:
>>Hello!
>>
>>I have a DB table I need to publish in geoserver. There are several
>>featuretypes that I filter with PropertyIsEqualTo. Some features have a
>>single space in the attribute I use to filter them so I try this one:
>>
>> <ogc:PropertyIsEqualTo>
>> <ogc:PropertyName>naimenovanie</ogc:PropertyName>
>> <ogc:Literal> </ogc:Literal>
>> </ogc:PropertyIsEqualTo>
>>
>>But it doesn’t seem to work. The problem is I cannot modify original DB to
>>make a null-value so I’m looking for another workaround. Any help would be
>>appreciated.
>>
>>
>>--
>>Ярослав Минин _______________________________________________
>>Geoserver-users mailing list
>>
>>Please make sure you read the following two resources before posting to this
>>list:
>>- Earning your support instead of buying it, but Ian Turton:
>>http://www.ianturton.com/talks/foss4g.html#/
>>- The GeoServer user list posting guidelines:
>>http://geoserver.org/comm/userlist-guidelines.html
>>
>>If you want to request a feature or an improvement, also see this:
>>https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> --
>Ian Turton
--
Ярослав Минин
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users