[Geoserver-devel] [JIRA] (GEOS-9502) <VendorOption> XML tag in <LineSymbolizer> is reported as Validator Error on Style Edit page

Imran Rajjad created an issue

GeoServer / BugGEOS-9502

<VendorOption> XML tag in <LineSymbolizer> is reported as Validator Error on Style Edit page

Issue Type:

BugBug

Affects Versions:

2.16.3

Assignee:

Imran Rajjad

Components:

styling

Created:

16/Feb/20 3:13 PM

Fix Versions:

2.17-RC, 2.16.3

Priority:

MediumMedium

Reporter:

Imran Rajjad

Given below Line Symbolizer as part of SLD being configured in Geoserver

<LineSymbolizer uom=“http://www.opengeospatial.org/se/units/metre”>
<VendorOption name=“markAlongLine”>true</VendorOption>
<Stroke>
<GraphicStroke>
<Graphic>
<Mark>
<WellKnownName>wkt://COMPOUNDCURVE(CIRCULARSTRING(0 0, 0.5 0.5, 1 0), CIRCULARSTRING(1 0, 1.5 -0.5, 2 0))</WellKnownName>
<Stroke>
<CssParameter name=“stroke-width”>0.1</CssParameter>
</Stroke>
</Mark>
<Size>1</Size>
</Graphic>
</GraphicStroke>
</Stroke>
</LineSymbolizer>

When validating the SLD, the <VendorOption> tag is not recognized and hence validation error is produced. To fix this /gs-main/src/main/resources/schemas/sld/StyledLayerDescriptor.xsd file needs to be updated accordingly.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100120-sha1:2415f4c)

Atlassian logo