[Geoserver-devel] [jira] (GEOS-6210) CSS Extension does not allow whitespace in compound labels

Jody Garnett created BugGEOS-6210
CSS Extension does not allow whitespace in compound labels

Issue Type:

BugBug

Affects Versions:

2.4.0

Assignee:

Andrea Aime

Components:

CSS

Created:

02/Dec/13 2:54 AM

Description:

Here is an interesting one, because it conflicts with the documentation example.

When constructing my own example of a compound label using ne:roads:

Unable to find source-code formatter for language: css. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml

* {
  stroke: ededff;
  stroke-width: 10;
  label: [level] " " [name];
  font-fill: black;
  -gt-label-follow-line: true;
}

I also tried replacing with direct use of Concatinate:

Unable to find source-code formatter for language: css. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml

label: [Concatenate(level,' ', name)];

The result shows no separation of content. Adding a any non white space character to the separating string causes the white space to be respected:

Unable to find source-code formatter for language: css. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml

label: [Concatenate(level,' #', name)];

Environment:

OSX

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jody Garnett

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)