Adding space around graphic fills

Description

Olá!!
Estou usando a versão 2.12.1 do geoserver e o tópico da documentação 'Adding space around graphic fills' permite o uso do <VendorOption name="graphic-margin">10</VendorOption> para espaçar os símbolos usados para estilizar com o 'graphic fills'. (http://docs.geoserver.org/2.12.1/user/styling/sld/extensions/margins.html)

Mas quando insiro a informação no sld, o erro abaixo é exibido (ver print).
Foi detectado um conteúdo inválido começando com o elemento 'VendorOption'. Era esperado um dos '{"http://www.opengis.net/sld":Stroke}'.

O que pode estar errado?
Segue dois exemplos de .sld com problema.

------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<sld:StyledLayerDescriptor version="1.0.0" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld ./Sld/StyledLayerDescriptor.xsd">
<sld:NamedLayer>
<sld:Name>Default</sld:Name>
<sld:UserStyle>
<sld:Name>Default</sld:Name>
<sld:Title>Default</sld:Title>
<sld:FeatureTypeStyle>
<sld:Rule>
<sld:Name>Polygon</sld:Name>
<sld:Title>Polygon</sld:Title>
<sldolygonSymbolizer>
<sld:Fill>
<sld:GraphicFill>
<sld:Graphic>
<sld:ExternalGraphic>
<sld:OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="./rockFillSymbol.png"/>
<sld:Format>image/png</sld:Format>
</sld:ExternalGraphic>
</sld:Graphic>
</sld:GraphicFill>
</sld:Fill>
<VendorOption name="graphic-margin">10</VendorOption>
</sldolygonSymbolizer>
</sld:Rule>
</sld:FeatureTypeStyle>
</sld:UserStyle>
</sld:NamedLayer>
</sld:StyledLayerDescriptor>

------------------------------------

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<sld:StyledLayerDescriptor version="1.0.0" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld ./Sld/StyledLayerDescriptor.xsd">
<sld:NamedLayer>
<sld:Name>Default</sld:Name>
<sld:UserStyle>
<sld:Name>Default</sld:Name>
<sld:Title>Default</sld:Title>
<sld:FeatureTypeStyle>
<sld:Rule>
<sld:Name>Polygon</sld:Name>
<sld:Title>Polygon</sld:Title>
<sldolygonSymbolizer>
<sld:Fill>
<sld:CssParameter name="fill">#AACBAF</sld:CssParameter>
</sld:Fill>
<sld:Stroke>
<sld:CssParameter name="stroke">#91A995</sld:CssParameter>
</sld:Stroke>
</sldolygonSymbolizer>
<sldolygonSymbolizer>
<sld:Fill>
<sld:GraphicFill>
<sld:Graphic>
<sld:ExternalGraphic>
<sld:OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="ICONES/Cemiterio_0.png"/>
<sld:Format>image/png</sld:Format>
</sld:ExternalGraphic>
<sld:Size>15</sld:Size>
</sld:Graphic>
</sld:GraphicFill>
</sld:Fill>
<VendorOption name="graphic-margin">10</VendorOption>
</sldolygonSymbolizer>
</sld:Rule>
</sld:FeatureTypeStyle>
</sld:UserStyle>
</sld:NamedLayer>
</sld:StyledLayerDescriptor>

Environment

None

Status

Assignee

Unassigned

Reporter

alinemaria

Fix versions

None

Affects versions

Components

Priority

Lowest
Configure