Hello,

I've been trying to create style in geoserver with Multilanguage Title - using 
this (sample) sld:

<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" 
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" 
xmlns="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";>
                <NamedLayer>
                                <Name>OCEANSEA_1M:Foundation</Name>
                                <UserStyle>
                                                <Name>GEOSYM</Name>
                                                <IsDefault>1</IsDefault>
                                                <FeatureTypeStyle>
                                                                <Rule>
                                                                                
<Name>main</Name>
                                                                                
<Title>title
                                                                                
<Localized lang="it">titolo</Localized>
                                                                                
<Localized lang="fr">titre</Localized>
                                                                                
<Localized lang="fr_CA">titre</Localized>
                                                                                
</Title>
                                                                                
<PolygonSymbolizer>
                                                                                
                <Geometry>
                                                                                
                                <ogc:PropertyName>GEOMETRY</ogc:PropertyName>
                                                                                
                </Geometry>
                                                                                
                <Fill>
                                                                                
                                <CssParameter name="fill">#96C3F5</CssParameter>
                                                                                
                </Fill>
                                                                                
</PolygonSymbolizer>
                                                                </Rule>
                                                </FeatureTypeStyle>
                                </UserStyle>
                </NamedLayer>
</StyledLayerDescriptor>

I tried using geoserver v2.9.0 , v2.9.1, v2.9-beta, v2.10 and on all I receive 
only one exception:

"line 15: cvc-type.3.1.2: Element 'Title' is a simple type, so it must have no 
element information item [children]."

Even though I tried changing to 'se' namespace, the result was the same. I got 
through xsds' - on 'sld' and 'se' to check, but on any version - no Localized 
tag is found, nor accepted.

Can anyone explain me how recreate the result mentioned here: 
http://docs.geoserver.org/2.9.0/user/styling/sld-language.html ?

Thanks for the help!
I. Dionisiev
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to