Hi all,

The official Geoserver SLD examples do not validate against the official SLD 
xsd because no attributes are allowed in the ColorMap element.

For example, this element will not validate against the official SLD schema:

<ColorMap type="ramp" extended="true">  

but this will

<ColorMap> 

Installing GeoServer puts a different (extended) StyleLayerDescriptor.xsd file 
here:

http://localhost:8080/geoserver/schemas/sld/StyledLayerDescriptor.xsd

which DOES define type and extended attributes for the ColorMap element.

In other words,

http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd

!=

http://localhost:8080/geoserver/schemas/sld/StyledLayerDescriptor.xsd

This should be clearly stated in the example documentation.

Thanks,
-Chris
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to