Legend Preview not correctly interpreting SvgParameter

Description

With SLDs similar to this

<se:LineSymbolizer>
<se:Stroke>
<se:SvgParameter name="stroke">#f6fd16</se:SvgParameter>
<se:SvgParameter name="stroke-width">4</se:SvgParameter>
<se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>
<se:SvgParameter name="stroke-linecap">square</se:SvgParameter>
<se:SvgParameter name="stroke-dasharray">4 2</se:SvgParameter>
</se:Stroke>
</se:LineSymbolizer>

Legend Preview seems to ignore the parameters. The issue is easily replicable. Just replace SvgParameter with CssParameter and the Legend Preview prints a correct legend.

Full SLD:

Environment

None

Assignee

Andrea Aime

Reporter

Alessio Fabiani

Triage

Fix versions

Affects versions

None

Priority

Medium
Configure