libgdx/libgdx — pull request #338 by jblambe (2013-04-07 21:14:49+00:00)
Title: TMX Loader: Added error messages for unsupported formats

Currently, a NullPointerException is thrown if the 'map/layer/data' tag has no 'encoding' attribute.
No 'encoding' attribute means that XML encoding is used, and this is not supported by the loader.
I also added a different exception for when there is an 'encoding' value that the loader does not recognise (for future encodings).
I also added a minor comment.