Issue Type: Bug Bug
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: Major Major
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
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to