According to the database, a relation requires a role, which may be empty, but not null.

Due to the way that the XML parsing is done, if no role attribute is supplied in the xml, then it will fail. Supplying role="" is what you are required to do.

If you can supply more detailed examples of where you are having problems, it will be easier to help you debug the problem. It could just be a problem of the rails daemon dying with your request going with it. JOSM does have an automatic retry system.

Shaun
On 17 Nov 2008, at 19:12, Till Harbaum / Lists wrote:

Hi,

i just noticed that don't specifying a role for a relation member gives an 500 error
while specifying an empty role="" works fine.

This doesn't look like it's intended that way.

Also my tool gets ~10% of internal server errors during upload but can always recover with a retry. How comes? I've never used josm or merkaartor. Do these
also have to run retries?

Till

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to