<div class="gmail_quote">On Thu, Apr 23, 2009 at 12:39 PM, Marco Lechner - FOSSGIS e.V. <span dir="ltr"><<a href="mailto:marco.lechner@fossgis.de">marco.lechner@fossgis.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi karl,<br>
<div class="im"><br>
 ./bin/osmosis --read-xml-0.6 file="path/planet-090421.osm.bz2"<br>
</div>compressionMethod=bzip2 --bounding-polygon-0.6 file=path/aoi.pff<br>
<div class="im">--write-xml-0.6 file=path/aoi_2009-04-21_v06.osm<br>
<br>
</div>gives (almost) the same error as pure v0.5:<br>
<div class="im"><br>
 Unable to parse xml file path/planet-090421.osm.bz2.  publicId=(null),<br>
systemId=(null), lineNumber=6663, columnNumber=34.<br>
</div>    at com.bretth.osmosis.core.xml.v0_6.XmlReader.run(XmlReader.java:114)<br>
<div class="im">    at java.lang.Thread.run(Thread.java:636)<br>
Caused by: org.xml.sax.SAXParseException: XML document structures must<br>
start and end within the same entity.<br>
<br>
<br>
</div>Marco<br>
</blockquote></div><br>So, it sounds like you had multiple problems. Probably your planet
file is corrupt. You could try to look at the referenced line (6663) in the unpacked file and see if it is valid XML. Most likely you will need to re-download the planet file.<br><br>Karl<br>