[OSM-dev] Invalid XML?

Karl Newman siliconfiend at gmail.com
Thu Sep 11 02:47:27 BST 2008


On Wed, Sep 10, 2008 at 6:08 PM, Stefan de Konink <skinkie at xs4all.nl> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> http://api.openstreetmap.org/api/0.5/node/169532897
>
>
> Looking at the last tag... that looks pretty wrong to me. And don't go
> fixing the tag... if the database outputs this, it is pretty b0rked.
>
>
>
> Stefan
>

So everyone can see what you're talking about:

<osm version="0.5" generator="OpenStreetMap server">
<node id="169532897" lat="50.9521054" lon="4.3022661" user="Polyglot"
visible="true" timestamp="2007-12-14T22:53:31+00:00">
<tag k="created_by" v="JOSM"/>
<tag k="highway" v="bus_stop"/>
<tag k="name" v="Driesstraat\"/>
</node>
</osm>

Are you concerned about the backslash in the name? I'm not an XML expert but
I don't think that's a problem because it's inside a quoted attribute value.
At least Firefox and my XML-aware text editor don't complain about it.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080910/b0047329/attachment.html>


More information about the dev mailing list