[Geoserver-devel] [jira] Created: (GEOS-2537) Escape string problem

Escape string problem
---------------------

                 Key: GEOS-2537
                 URL: http://jira.codehaus.org/browse/GEOS-2537
             Project: GeoServer
          Issue Type: Bug
          Components: Global
    Affects Versions: 1.7.x
            Reporter: Min Feng
            Assignee: Andrea Aime

The escape function in org.vfny.geoserver.global.xml.WriterHelper cannot escape characters after '\n'. For example:

escape("Test \n temperature < 10") returns "Test \n temperature < 10" instead of "Test \n temperature &gt; 10"

Because of the bug, GeoServer can not handle text like that as abstract of feature type.

--
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