[OSM-dev] XML Schema

Andy Allan gravitystorm at gmail.com
Fri Nov 7 14:31:08 GMT 2008


On Fri, Nov 7, 2008 at 12:36 PM, Hugh Barnes <list.osm at hughbris.com> wrote:
> I noticed on the todo list for the Protocol v.0.6
> (http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.6#Pending),
> the wiki lists "XML Schema".
>
> I thought I saw a page some time ago which had a DTD in it, and someone
> suggested we use RELAX NG instead to define the content model. Can't find it
> now. That person was right. We'll have a lot more joy with it. It's also a
> good idea to add attribute constraints etc (like the nonsensical no repeated
> tag keys constraint) with Schematron.
>
> Does this still need doing? (I'll help) Do we literally intend to use XML
> Schema (count me out if so) or do we mean just a schema for the XML (small
> "s") ?
>
> And in any case, can we please define XML namespaces for any schemas we create,
> if we haven't already? It can become very difficult working with documents
> without them.
>
> And I take it the API itself (the interface) is almost finalised and it's too
> late for comments? If not, where do you prefer them? Given recent discussions,
> I guess the list.

It's never too late for comments (things can always go into the next
version) - but if you've got some, it's a good idea to make them now.
Hopefully by the end of the weekend we'll have the 0.6 API
sanity-checked and "frozen" to some extent, since we need to give
everyone plenty of time without any further changes.

Cheers,
Andy




More information about the dev mailing list