Error when trying to split osm-file, can I do to repair the osm-file?

I got following message from SPLITTER, what can I do to repair the osm-file?

cache=
description=
geonames-file=
legacy-mode=false
mapid=63240001
max-areas=255
c:\Users\BS\Documents\splitter-r105>java -Xmx1000m -jar splitter.jar data.osm
cache=
description=
geonames-file=
legacy-mode=false
mapid=63240001
max-areas=255
max-nodes=1600000
mixed=false
no-trim=false
overlap=2000
resolution=13
split-file=
status-freq=120
write-kml=
Elapsed time: 0s Memory: Current 4MB (0MB used, 4MB free) Max 992MB
Time started: Sun Jan 31 09:37:07 CET 2010
Map is being split for resolution 13:

  • area boundaries are aligned to 0x800 map units
  • areas are multiples of 0x1000 map units wide and high
    The input osm file(s) will be re-parsed during the split (slower) because no --c
    ache parameter was specified
    Processing data.osm
    2.500.000 nodes processed…
    Error parsing xml from file org.xmlpull.v1.XmlPullParserException: end tag name
    must match start tag name from line 2 (position: TEXT seen …</no
    de>\r\neset='2144684'>\r\n … @9950949:10)
    org.xmlpull.v1.XmlPullParserException: end tag name must match start tag
    name from line 2 (position: TEXT seen …\r\neset='2144684'>\r\n
    @9950949:10)
    at org.xmlpull.mxp1.MXParser.parseEndTag(MXParser.java:1689)
    at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1131)
    at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
    at uk.me.parabola.splitter.AbstractXppParser.parse(AbstractXppParser.jav
    a:62)
    at uk.me.parabola.splitter.Main.processOsmFiles(Main.java:392)
    at uk.me.parabola.splitter.Main.processMap(Main.java:381)
    at uk.me.parabola.splitter.Main.calculateAreas(Main.java:271)
    at uk.me.parabola.splitter.Main.split(Main.java:161)
    at uk.me.parabola.splitter.Main.start(Main.java:109)
    at uk.me.parabola.splitter.Main.main(Main.java:98)
    Time finished: Sun Jan 31 09:38:58 CET 2010
    Total time taken: 111s

Where did you get the OSM file from? It looks like it is corrupted.

I got it on this way:

wget http://www.informationfreeway.org/api/0.6/map?bbox=-124.03,31.46,-108.36,39.85 -O c:\users\bs\documents\mkgmap\data.osm