Hi there,
I'm happily using Simple-KML in one of my pet projects for parsing a kmz file, but it appears that I'm having some difficulty parsing the .kml file from https://dl.dropboxusercontent.com/u/21695507/openplaques/london_20140202.kml.
When I step through the SimpleKML KMLWithContentsOfFile method, I can see that the stringified xml is easily loaded from my application's bundle.
However, when the following code is executed:
CXMLDocument *document = [[CXMLDocument alloc] initWithXMLString:source
options:0
error:&parseError];
... it appears that the source is correct, but the resulting document is nil :( The parseError object is nil and the error object returned from the SimpleKML KMLWithContentsOfFile method is nil too. So, I'm not sure what the root cause of the issue is.
FWIW, I'm using the latest version of the library downloaded from github a few weeks ago.
I read the docs and you mentioned that you'd like to see unit tests added to the project for parsing problem files like this. I'd be happy to contribute, but would like your input. Would you be cool with XCTests? I've been using Kiwi recently and like it, but don't have a strong preference.
Thanks again for the awesome library,
Sean