I then applied the SLD to a the same
(PostGIS) layer in uDig and validated it there and it worked fine.
The problem appears when I apply it in
GeoServer. uDig and OpenLayers interact with it through WMS just fine. However,
QGIS gets bounding coordinates wrong and behaves rather strangely with it and Google
Earth gives this error (‘mismatched tag’ if you don’t get the
screendump image), looks like GeoServer’s not generating good KML:
Here are the GeoServer Demo links to the layer in question
and attached is the sld file. I wonder if it is an SLD version issue?
Another related question: When you tick
‘Validate’ on the Style screen in GeoServer you get no feedback
about validation when submitting, whether it validates or not, it just accepts
the SLD. Is that intentional?