Ticket #6647: patch.diff
File patch.diff, 954 bytes (added by , 14 years ago) |
---|
-
src/org/openstreetmap/josm/io/OsmReader.java
119 119 @Override public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { 120 120 121 121 try { 122 if (qName.equals("osm") ) {122 if (qName.equals("osm") || qName.equals("osmChange")) { 123 123 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)); 125 125 } 126 126 String v = atts.getValue("version"); 127 127 if (v == null) {