We'd need to see the relevant section of the SLD to be able to help. But why update it at all?
Ian On Fri, 28 Feb 2020 at 14:37, Lars I. Nielsen, LIFA A/S <[email protected]> wrote: > 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 > > *T* > > 6313 6800 > > *@* > > [email protected] > > *D* > > 6313 6849 > > *W* > > www.lifa.dk > > *M* > > *CVR* > > 20937289 > > > <https://www.linkedin.com/company/lifa-a-s/> > Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Ian Turton
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
