-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to parse KML file #27
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
... 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
The text was updated successfully, but these errors were encountered: