Can you supply a sample file? We have a test directory of SLD files; where each one is parsed and then regenerated to ensure that the process is non lossy. I have also had problems on and off over the last year; but for the most part things have been good in the last 6 months on trunk.
If you would like to look your self check out the SLDParser test cases. Jody On Thu, Jul 30, 2009 at 6:00 PM, Yoann Buch<[email protected]> wrote: > Hi list, > > I have encountered an issue with GeoServer but I think that the problem may > be > related to GeoTools only. > > I sent to GeoServer a GetMap request with a reference to one SLD file that I > created > previously with GeoTools. When it's time to parse it, an exception is > raised: > > java.lang.RuntimeException: java.io.UTFDataFormatException: Invalid byte 2 > of 3-byte UTF-8 sequence. > at org.geotools.styling.SLDParser.parseSLD(SLDParser.java:372) > at > org.geoserver.wms.kvp.GetMapKvpRequestReader.parseSld(GetMapKvpRequestReader.java:413) > ... > > I know that my SLD contains special characters such as éèë... but it is text > encoded in UTF-8. This exception > is only raised when my file contains those special characters otherwise > everything goes fine. > > So I'm kind of confused on how one SLD file generated by GeoTools cannot be > parsed back by GeoTools... > > Any help on this? > > Best Regards, > > Yoann Buch > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
