[OSM-dev] Escaping special characters when writing tags in OSM files with osm-subset.pl & write.pm

Dean Earley dean at earlsoft.co.uk
Sun Nov 5 23:14:24 GMT 2006


Jon Burgess wrote:
> On Sun, 2006-11-05 at 22:27 +0000, Dean Earley wrote:
>>  From memory, & SHOULDN'T be escaped in XML files.
>> I was surprised when I read this but it fixed my RSS feed.. :)
>>
> 
> That doesn't seem to make sense to me since you have to escape the
> character used for escaping. Otherwise encoding and decoding would not
> be reversible, e.g.

I know. I think it was different when it's a value of a tag to in the 
XML content part.
I'll see if I can dig out a reference.

-- 
Dean Earley, Dee (dean at earlsoft.co.uk)

irc:    irc://irc.blitzed.org/
web:    http://personal.earlsoft.co.uk
phone:  +44 (0)780 8369596




More information about the dev mailing list