Updating a SLD style using the API omits the <Stroke> section in Polygon/LineSymbolizer

Description

When attempting to update an SLD using the REST API
on the endpoint PUT /styles/{name}

with the following content

the <Stroke> part is then emptied (just an empty tag). I tried this with a `PolygonSymbolizer` and a `LineSymbolizer` and the result is the same for both. Weirdly though the `Fill` is retained correctly.

For completeness, the above sld is converted to the following:

(I have not yet tried to create a new style using the API using the new version

Environment

None

Assignee

Unassigned

Reporter

Nathan Van der Auwera

Triage

None

Fix versions

None

Affects versions

Components

Priority

Medium
Configure