Sorry miss read that, the fill section is what is wrong:
<Fill>
<CssParameter name="fill">#606060</CssParameter>
<CssParameter name="font-family">Calibri</
CssParameter>
<CssParameter name="font-size">12</CssParameter>
<CssParameter name="font-style">normal</CssParameter>
<CssParameter name="font-weight">bold</CssParameter>
</Fill>
should be
<Fill>
<CssParameter name="fill">#606060</CssParameter>
</FIll>
<Font>
<CssParameter name="font-family">Calibri</CssParameter>
<CssParameter name="font-size">12</CssParameter>
<CssParameter name="font-style">normal</CssParameter>
<CssParameter name="font-weight">bold</CssParameter>
</Font>
Ian
On 23 January 2017 at 13:15, Ian Turton <[email protected]> wrote:
> LineSymbolizers don't have halos, only TextSymbolizers do. What are you
> trying to do?
>
> Ian
>
> On 23 January 2017 at 13:00, wiltomap <[email protected]> wrote:
>
>> I'm having troubles with a SLD file used within GeoServer 2.10. When
>> checking
>> the syntax, it returns the following error message: /line 2542:
>> cvc-complex-type.2.4.a : Unvalid content from element 'Halo'. One of the
>> values '{"http://www.opengis.net/sld":Graphic,
>> "http://www.opengis.net/sld":Priority,
>> "http://www.opengis.net/sld":VendorOption}' is expected./
>>
>> Here is my code:
>>
>> <Rule>
>> <Name>Canalisation hors-service</Name>
>> <Title>Canalisation hors-service</Title>
>> <ogc:Filter>
>> <ogc:Not>
>> <ogc:PropertyIsNull>
>> <ogc:PropertyName>annee_hs</ogc:PropertyName>
>> </ogc:PropertyIsNull>
>> </ogc:Not>
>> </ogc:Filter>
>> <MinScaleDenominator>1</MinScaleDenominator>
>> <MaxScaleDenominator>10010</MaxScaleDenominator>
>> <LineSymbolizer>
>> <Stroke>
>> <CssParameter name="stroke">#dcdcdc</CssParameter>
>> <CssParameter name="stroke-width">6</CssParameter>
>> <CssParameter name="stroke-opacity">0.75</CssParameter>
>> <CssParameter name="stroke-linecap">round</CssParameter>
>> </Stroke>
>> </LineSymbolizer>
>> <TextSymbolizer>
>> <Label>Hors-service</Label>
>> <LabelPlacement>
>> <LinePlacement />
>> </LabelPlacement>
>> <Fill>
>> <CssParameter name="fill">#606060</CssParameter>
>> <CssParameter name="font-family">Calibri</Cs
>> sParameter>
>> <CssParameter name="font-size">12</CssParameter>
>> <CssParameter name="font-style">normal</CssParameter>
>> <CssParameter name="font-weight">bold</CssParameter>
>> </Fill>
>> <Halo>
>> <Fill>
>> <CssParameter name="fill">#dcdcdc</CssParameter>
>> </Fill>
>> </Halo>
>> <VendorOption name="followLine">true</VendorOption>
>> </TextSymbolizer>
>> </Rule>
>>
>> When I delete the <Halo></Halo> lines, the error does not show up again.
>> This issue does not unable layer display when I test it with QGIS for
>> example...
>>
>> Any advice on what might be wrong?
>>
>>
>>
>> --
>> View this message in context: http://osgeo-org.1560.x6.nabbl
>> e.com/SLD-error-with-Halo-tag-GeoServer-2-10-tp5304454.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
>
> --
> Ian Turton
>
--
Ian Turton
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users