We're updating the issue view to help you get more done. 

REST API switch broke non SLD to SLD format

Description

The old REST API was able to generate SLD out of a non SLD language by just adding ".sld" at the end of the URL (as the format specifier), the current one generates this:

1 <?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:se="http://www.opengis.net/se" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:sld="http://www.opengis.net/sld">org.geotools.styling.StyledLayerDescriptorImpl@212e1a18</sld:StyledLayerDescriptor>

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Priority

Medium