Re: [openstreetmap/openstreetmap-website] [WIP] XML generation: nodes, ways, relations, map controller → view (#2223)

mmd notifications at github.com
Thu Jun 27 09:30:53 UTC 2019


> Ah it does cause you to get an element with no content (<node...></node>) rather than an empty element (<node.../>) but any client that can't cope with that is just buggy!

Ah, I was wrong. The idea was really to have the response in line to what we have today, meaning, this extra logic was meant to re-create the exact same response, and avoid the extra `</node>`. This also happens to save a few bytes as well. Client should be able to handle either version.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2223#issuecomment-506270823
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190627/0eef5c76/attachment.html>


More information about the rails-dev mailing list