Hi
I’m Trying to use this example
http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/
But each time I validate this sld file
<?xml version="1.0"
encoding="UTF-8"?>
<StyledLayerDescriptor version="1.1.0"
xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:se="http://www.opengis.net/se">
<NamedLayer>
<se:Name>Capa eMood</se:Name>
<UserStyle>
<se:Name>Estilo eMood</se:Name>
<se:FeatureTypeStyle>
<se:Rule>
<se:Name>Regla eMood</se:Name>
<se:Description>
<se:Title>Regla para simbolizar eMoods</se:Title>
</se:Description>
<se:PointSymbolizer>
<se:Graphic>
<se:ExternalGraphic>
<se:OnlineResource xlink:type="simple"
xlink:href="http://localhost:8080/geoserver/styles/emoods/tn_${emood}.png"/>
<se:Format>image/png</se:Format>
</se:ExternalGraphic>
<se:Size>10</se:Size>
</se:Graphic>
</se:PointSymbolizer>
</se:Rule>
</se:FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
I get this error
Parsing failed for href: java.net.URISyntaxException: Illegal character in path
at index 47: http://localhost:8080/geoserver/styles/emoods/${emood}.png
Any idea???
Thanks
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users