Would it be helpful if non-standard extensions to the xml file made proper use of xml namespaces?  It would prevent trouble in the future with conflicting and misinterpreted attributes.<br><br>Of course, an agreed diff format would not be an extension and so would not need to use a distinct namespace.
<br><br>80n<br><br><div><span class="gmail_quote">On 8/20/07, <b class="gmail_sendername">Immanuel Scholz</b> <<a href="mailto:imi@eigenheimstrasse.de">imi@eigenheimstrasse.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> In JOSM you get data which is unmodified too. Also the data in JOSM is<br>> complete, i.e. if there is a way, then you also have the relevant<br>> segments and nodes which it references.<br><br>Not necessarily. JOSM still supports incomplete ways and the fact the
<br>current server implementation does not return them via map-request may<br>change in future (e.g. because of relationships or other server<br>implementations)<br><br><br>> In theory I could probably adapt the planetdiff format to be closer to
<br>> that used by JOSM but I'd need to be convinced it was really worth the<br>> effort. I'd be against adding information about the unmodified nodes and<br>> segments to the diff since this would increase the file size and also
<br>> break the streaming algorithm which the diff tool currently uses.<br><br>Just remove the unmodified stuff from the xml file. JOSM can parse any<br>subset of an osm-file back, however, some objects will be incomplete or
<br>ignored at all (JOSM will not import incomplete segments for now).<br><br><br>Bear in mind, that the JOSM approach was taken so that "changesets" and<br>"normal" xml files are readable by the same parser.
<br><br>Note also, that you can store any "historical" objects with the same id<br>into a XML file and JOSM will happily ignore all but the last tag (which<br>should be changed to "all but the one with the highest timestamps",
<br>perhaps). This way you can store "original" values in changesets without<br>changing JOSM at all.<br><br><br>There are some other unofficial additions to the osm-schema made by<br>JOSM, e.g. the tag "bound".
<br><br><br>Ciao, Imi.<br><br>--<br>DF0E A04F 7063 69C5 A76B  7557 0A77 608F 9172 3535<br><br>_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org
</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br></blockquote></div><br>