vylan / javaapiforkml

Automatically exported from code.google.com/p/javaapiforkml
0 stars 0 forks source link

bug #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. File file = new File("/test/myplaces.kmz"); // file exported from google
earth
2. Kml[] = Kml.unmarshalFromKmz(file);

error :
MalformedByteSequenceException : "Invalid byte 1 of 1-byte UTF-8 sequence" 

What version of the product are you using? On what operating system?
JDK 1.6.0.13

after check i change this line code :

if (entryName.endsWith("*.kml")) {
                continue;
}

to
if (!entryName.endsWith(".kml")) {
                continue;
}

Original issue reported on code.google.com by isapoetra on 22 Sep 2009 at 1:31

GoogleCodeExporter commented 9 years ago

Original comment by bachmann...@gmail.com on 7 Oct 2009 at 7:35

GoogleCodeExporter commented 9 years ago

Original comment by bachmann...@gmail.com on 13 Oct 2009 at 2:21