Changeset 4808 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2012-01-17T13:16:11+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GpxReader.java
r3408 r4808 83 83 } 84 84 85 @Override public void startElement(String namespaceURI, String qName, String rqName, Attributes atts) throws SAXException {85 @Override public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { 86 86 elements.push(qName); 87 87 switch(currentState) { … … 215 215 216 216 @SuppressWarnings("unchecked") 217 @Override public void endElement(String namespaceURI, String qName, String rqName) {217 @Override public void endElement(String namespaceURI, String localName, String qName) { 218 218 elements.pop(); 219 219 switch (currentState) { … … 367 367 try { 368 368 SAXParserFactory factory = SAXParserFactory.newInstance(); 369 factory.setNamespaceAware(true); 369 // support files with invalid xml namespace declarations (see #7247) 370 factory.setNamespaceAware(false); 370 371 factory.newSAXParser().parse(inputSource, parser); 371 372 return true;
Note:
See TracChangeset
for help on using the changeset viewer.