[OSM-dev] High performance server [JOSM issues]

Jon Burgess jburgess777 at googlemail.com
Wed May 28 08:51:07 BST 2008


On Wed, 2008-05-28 at 02:33 +0200, Stefan de Konink wrote:
> Hi,
> 
> 
> As promised I started to write a C implementation of the API, combining 
> the Cherokee webserver and MonetDB5/SQL+GIS. Currently I'm having some 
> issues with JOSM on it.
> 
> 
> I have created a small download and with a tool developed half a year 
> ago I have populated a MonetDB database (including Geom extention). I 
> have implemented some basic queries, and after the validation effort in 
> Firefox, I thought of using JOSM.
> 
> 
> After changing the api address, JOSM downloads but pops up with:
> 
> "Error while parsing: The processing instruction target matching 
> "[xX][mM][lL]" is not allowed.
> 
> So as debugging test, I have removed <?xml ... ?>
> 
> The message that comes out then is:
> 
> Error while parsing: The markup in the document following the root 
> element must be well-formed.
> 
> 
> My output is tabless, the strange thing is if I download the document 
> using the same argument as JOSM uses (from commandline) the document loads.
> 
> 
> Tips? Ideas?
> 

How does the content-type for the HTTP download compare to the real API?
(try wget -S http://... and compare all the headers)

	Jon






More information about the dev mailing list