Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

[PATCH] osmosis doesn't give warnings when failing to parse version="" attribute in 0.5 OSM files read with the 0.6 driver #2474

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 8.50am, Wednesday, 18th November 2009]

When I use --read-xml to parse 0.5 OSM files osmosis will die with an exception in parseInt because it can't find the version="" attribute. This patch gives a meaningful error message in this case.

@openstreetmap-trac
Copy link
Author

Author: brett[at]bretth.com
[Added to the original trac issue at 5.47am, Thursday, 19th November 2009]

Patch applied with some minor formatting updates to fix checkstyle.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant