[OSM-dev] Planet dump error (was [OSM-talk] Weird objects showing up in Toronto)

Jon Burgess jburgess777 at googlemail.com
Thu Nov 29 11:44:28 GMT 2007


On 29/11/2007, Dave Stubbs <osm.list at randomjunk.co.uk> wrote:
> On 28/11/2007, Jon Burgess <jburgess777 at googlemail.com> wrote:
> >
> > Thanks for diagnosing the problem and providing the fix. I've applied
> > the changes to SVN and updated the executable used on dev for the weekly
> > dump.
> >
> > I tweaked the unescaping to pass other \ escaped characters through
> > unchanged, e.g. \x becomes x instead of \
> >
>
> It might actually be best to pass through the entire escape sequence
> unchanged. So \x remains \x -- this would make it consistent with the
> API's behaviour which only transforms the \s, \e, and \\ escape
> sequences.
>
> The point might actually be moot as I can't actually find any
> instances of \ in the current planet except \e,\s,\\ from the last
> week... and with the new escaping the \x sequence can't occur. So I'm
> not particularly concerned :-)
>
> Dave
>


The only instances I saw seemed to be related to ' or "
i.e. \' or \" (presumably these got escaped by a tool somewhere)
Removing the \ seemed to be better in this case.

-- 

    Jon




More information about the dev mailing list