[Geoserver-devel] [jira] Created: (GEOS-1620) SLD parser trims whitespaces from literals

SLD parser trims whitespaces from literals
------------------------------------------

                 Key: GEOS-1620
                 URL: http://jira.codehaus.org/browse/GEOS-1620
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.6.0-RC1
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.6.1, 1.7.0-beta1

This makes it not possible to concat a single white space. A user found a workaround by using substring, not very nice looking thought:

{code:xml}
<ogc:Function name="strConcat">
<ogc:Function name="strConcat">
<ogc:PropertyName>strasse</ogc:PropertyName>
<ogc:Function name="strSubstring">
<ogc:Literal>A C</ogc:Literal>
<ogc:Literal>1</ogc:Literal>
<ogc:Literal>2</ogc:Literal>
</ogc:Function>
</ogc:Function>
<ogc:PropertyName>hausnummer</ogc:PropertyName>
</ogc:Function>
{code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira