I deleted the first line of the file, which started with <xml. The first line
is now <osm version="0.6" generator="Osmosis 0.31.1">, but the same error
persists.
> Date: Tue, 4 May 2010 16:09:50 +0200
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [osmosis-dev] Can't load osm file to PostGRESql
>
> Hi,
>
> Ibrahim Bouchrika wrote:
> > Your idea seams nifty, although it's giving an error on the --rx
> command. I don't know Osmosis well enough to figure out where the error
> comes from. Is it just an error in the syntax or is it because of the
> osm-file?
>
> > Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>
> Can you make sure your empty.osm and your amsterdam.osm begin with the
> characters
>
> <osm
>
> and nothing else?
>
> Bye
> Frederik
>
>
>
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev