[OSM-dev] [API] What characters to escape in tag keys/values?

Chris Browet cbro at semperpax.com
Fri Dec 30 13:47:12 GMT 2011

Hi All, long time no see.

I have an issue with a tag value ending with a "%" (percent), e.g. "15%",
returning a 500 error from the api, while "15%20" does not.
I assume there is some escaping logic behind but it is not clear to me
which characters should be escaped and how.
AFAIK, no escaping should be necessary in a xml attribute coded in UTF8,
but I might be wrong.

Could someone enlight me, please.

- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20111230/be212441/attachment.html>

More information about the dev mailing list