[Geoserver-devel] [jira] (GEOS-5540) SLD "VendorOption" fails to validate

Jonathan Moules created BugGEOS-5540
SLD “VendorOption” fails to validate

Issue Type:

BugBug

Affects Versions:

2.2.3

Assignee:

Andrea Aime

Components:

Validation

Created:

09/Jan/13 10:29 AM

Description:

I have a SLD created by QGIS 1.8.0 which contains:

</se:Fill>
<VendorOption name=“distance”>7,6</VendorOption>
</se:PolygonSymbolizer>
</se:Rule>

However, this fails to validate in GeoServer, giving this error:

line 33: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘VendorOption’. One of ‘{“http://www.opengis.net/se”:Stroke, “http://www.opengis.net/se”:Displacement, “http://www.opengis.net/se”:PerpendicularOffset}’ is expected.

Looking at the documentation - http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/polygons.html?highlight=vendoroption this appears to be correct and should validate.
I am aware that VendorOption isn’t part of the 1.0.0 spec (the documentation says so), but surely it should validate in the application anyway?

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Jonathan Moules

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](http://www.atlassian.com/software/jira)