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