Ekito/Simple-KML — pull request #3 by brian32768 (2013-01-05 03:00:03+00:00)
Title: Fix regular expression in coordinates.java

Sorry, never worked with github before. Not sure how to keep patches separated yet...

In coordinates.java

i think your intent was to strip extra spaces but if there were none it would strip the first space found in the string, changing "x,y x,y" to "x,yx.y" and causing the split to fail.

Adding the anchor "^" fixes it

In StyleMap.java you had a single Pair and you have to handle a list because there can be two Pair objects in a StyleMap, one for normal and one for bold.

I am working with a KML file generated by GeoServer. Once I get it completely parsing I will add a sample file. I intend to add a little demo to load the contents of the file onto a Google Map.