[Geoserver-users] SLD upgrading woes

Hi list.

I’ve just tried to move an SLD, that worked fine as version 1.0 on Geoserver 2.10 to a newer version.

I converted the SLD version 1.0 to version 1.1, and had XMLSpy verify, that the new SLD 1.1 content was valid.

But neither Geoserver 2.14 nor Geoserver 2.16 will accept it.

The error message is highly cryptic:

sld java.lang.RuntimeException: Parsing failed for Graphic: java.lang.ClassCastException: java.lang.String cannot be cast to org.opengis.filter.expression.Expression

Can anyone shed any light on this rather odd behavior ?

Ps! The SLD encoding is not UTF-8, but ISO-8859-1, but that ought not be a problem, or ?

Med venlig hilsen

Lars I. Nielsen, LIFA A/S
GIS-kons., FME+Python Certified Professional
Geoinformatik

image002.png

···


T



6313 6800



@



lin@anonymised.com



D



6313 6849



W



www.lifa.dk



M



CVR



20937289


Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S

We’d need to see the relevant section of the SLD to be able to help. But why update it at all?

Ian

image001.gif

image002.png

···

Ian Turton