[Geoserver-devel] [jira] (GEOS-4948) http://localhost:8080/geoserver/rest/styles/polygon.sld not return the same style present in the styles directory

Francesco Izzi created GEOS-4948:
------------------------------------

             Summary: http://localhost:8080/geoserver/rest/styles/polygon.sld not return the same style present in the styles directory
                 Key: GEOS-4948
                 URL: https://jira.codehaus.org/browse/GEOS-4948
             Project: GeoServer
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.1.3
            Reporter: Francesco Izzi
            Assignee: Andrea Aime

in the default_polygon.sld i see

...
<PolygonSymbolizer>
            <Fill>
              <CssParameter name="fill">#AAAAAA</CssParameter>
            </Fill>
            <Stroke>
              <CssParameter name="stroke">#000000</CssParameter>
              <CssParameter name="stroke-width">1</CssParameter>
            </Stroke>
</PolygonSymbolizer>
...

when i request through rest with http://localhost:8080/geoserver/rest/styles/polygon.sld i see
...
<sld:PolygonSymbolizer><sld:Fill><sld:CssParameter name="fill">#AAAAAA</sld:CssParameter></sld:Fill><sld:Stroke/></sld:PolygonSymbolizer>
...
the sld:Stroke tag is empty

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira