[OSM-dev] XML Schema

Hugh Barnes list.osm at hughbris.com
Fri Nov 7 12:36:50 GMT 2008


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.

Cheers




More information about the dev mailing list