I would expect to see this error if you are parsing an XML document (such as an SLD) that has a an XML declaration like <?xml version="1.0" encoding="UTF-8"?> but that contains characters not in UTF-8. For example, it is very easy to manually edit an XML document and paste content from a Windows application into XML with the wrong encoding. Common offenders are accented characters (only US-ASCII are the same in UTF-8) and Windows smart quotes.
Can we see your SLD? See: http://en.wikipedia.org/wiki/ISO/IEC_8859-1 http://en.wikipedia.org/wiki/Windows-1252 On 10/08/10 15:04, Robert Buckley wrote: > Hi, > > I got this error report this morning and don“t quite know what to do... > > > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <!DOCTYPE ServiceExceptionReport SYSTEM > "http://192.168.20.50:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> > <ServiceExceptionReport version="1.1.1"> > <ServiceException> > > java.lang.RuntimeException: java.io.UTFDataFormatException: Invalid > byte 2 > of 3-byte UTF-8 sequence. > java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence. > Invalid byte 2 of 3-byte UTF-8 sequence. > > </ServiceException>< > /ServiceExceptionReport> > > > Encoding of an sld is wrong? > > > Thanks for any comments. > > yours, > Robert > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Ben Caradoc-Davies <[email protected]> Software Engineering Team Leader CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
