Changeset 4268 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2011-07-27T18:38:45+02:00 (13 years ago)
Author:
stoecker
Message:

fix #6647 - patch by Don-vip - fix changeset downloading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmReader.java

    r4191 r4268  
    120120
    121121            try {
    122                 if (qName.equals("osm")) {
     122                if (qName.equals("osm") || qName.equals("osmChange")) {
    123123                    if (atts == null) {
    124                         throwException(tr("Missing mandatory attribute ''{0}'' of XML element {1}.", "version", "osm"));
     124                        throwException(tr("Missing mandatory attribute ''{0}'' of XML element {1}.", "version", qName));
    125125                    }
    126126                    String v = atts.getValue("version");
Note: See TracChangeset for help on using the changeset viewer.