[OSM-dev] XML Schema (.xsd) for OSM-Protocol 0.5 and DTD question

Dominik Spies kontakt at dspies.de
Tue Jun 24 15:58:40 BST 2008


>> wouldn't be <!ELEMENT way (tag*,nd+)> enough?
>
> No, because this would
>
> 1. allow ways with one node which we don't want
> 2. require tags to be specified BEFORE the nodes which isn't a requirement

now I got it. I'm not an expoert in DTD, simply didn't catch the fact
that this list is ordered.

In cleartext, this means, a way must have two to unlimited node-refs
and zero two unlimited tags without specifing any order?

@Stefan

is there any output of your effort you may share?


Regards,

Dominik




More information about the dev mailing list