[Geoserver-devel] [jira] (GEOS-5991) VendorOption for graphic-margin fails validation

Jonathan Moules created BugGEOS-5991
VendorOption for graphic-margin fails validation

Issue Type:

BugBug

Affects Versions:

2.3.5

Assignee:

Andrea Aime

Components:

WMS

Created:

23/Aug/13 10:03 AM

Description:

Following on from - http://jira.codehaus.org/browse/GEOS-5863

My SLD works, but it fails validation.

<?xml version=“1.0” encoding=“UTF-8”?>
<StyledLayerDescriptor xmlns=“http://www.opengis.net/sld” xmlns:ogc=“http://www.opengis.net/ogc” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” version=“1.1.0” xmlns:xlink=“http://www.w3.org/1999/xlink” xsi:schemaLocation=“http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd” xmlns:se=“http://www.opengis.net/se”>
<NamedLayer>
<se:Name>5km - Coventry MUA</se:Name>
<UserStyle>
<se:FeatureTypeStyle>
<se:Rule>

<se:PolygonSymbolizer>
<se:Fill>
<se:GraphicFill>
<se:Graphic>
<se:Mark>
<se:WellKnownName>square</se:WellKnownName>
<se:Fill>
<se:SvgParameter name=“fill”>#996600</se:SvgParameter>
</se:Fill>
</se:Mark>
<se:Size>15</se:Size>
</se:Graphic>
</se:GraphicFill>
</se:Fill>

<se:VendorOption name=“graphic-margin”>10</se:VendorOption>

<se:Stroke>
<se:SvgParameter name=“stroke”>#996600</se:SvgParameter>
<se:SvgParameter name=“stroke-width”>1.0</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</se:Rule>

</se:FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>

Error:

line 24: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘se:VendorOption’. One of ’

{“http://www.opengis.net/se”:Stroke, “http://www.opengis.net/se”:Displacement, “http://www.opengis.net/se”:PerpendicularOffset}

’ is expected.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jonathan Moules

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)