Using a JOSM .osm file format is it possible to replace nodes in an existing way?
Uploading (Green arrow) this .osm file from within JOSM it first issues a warning asking if I want to synchronise to the correct versions. After selecting ‘sync all’ it appears to upload correctly except the green arrow doesn’t turn grey & the way’s geometry doesn’t get updated in the osm database.
Can you spot any syntax/format errors?
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
<node id='-25402' lat='51.387918' lon='-2.3668295' />
<node id='-25403' lat='51.3879182' lon='-2.36682956' />
<node id='-25404' lat='51.387919' lon='-2.3668305' />
<node id='13701854070' action='delete' version='1111' lat='51.3880502' lon='-2.3666685' />
<node id='13701854071' action='delete' version='1111' lat='51.3879214' lon='-2.3665022' />
<node id='13701854072' action='delete' version='1111' lat='51.387918' lon='-2.3668295' />
<way id="1495639349" action='modify' visible="true" version="1" timestamp="2026-04-02T17:21:19Z" user="DaveF" uid="115894">
<nd ref='-25402' />
<nd ref='-25403' />
<nd ref='-25404' />
<tag k='highway' v='footway' />
<tag k='name' v='The footway' />
</way>
</osm>