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 <
geoserver-users@lists.sourceforge.net> 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
>
>
> Geoserver-users@lists.sourceforge.net
> 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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to