(q1) Where is the official source of the current OSM .xsd Schema file? Checked the Wiki and found this page as a start: http://wiki.openstreetmap.org/wiki/OSM_XML/XSD Is that it? (q2) How do you modify the xml Export (.osm) file to reference the authoritative .xsd Schema file? (Note: export writes a .osm file which is XML, and can easily be renamed to .xml) Speculate you just take line 2 of the .xml file which contains this:
and add in ( ahead of the closing ">" )
and
Provided you have a validated copy of the current OSM .xsd file named asked 17 Feb '15, 14:23 rjl |
There is no official xsd schema file, which is why it doesn't appear referenced from within the files. There's no official schema in any other format either. answered 17 Feb '15, 15:41 Andy Allan Thanks. Good to know.
(17 Feb '15, 17:07)
rjl
|
Can you explain in a little more detail what it is that you are actually trying to do?
Trying to get .osm to load and validate against authoritative .xsd . OSMSchema.xsd (that I found) has xmlns="http://openstreetmap.org/osm/0.6" and targetNamespace="http://openstreetmap.org/osm/0.6" yet .osm files don't utilize a namespace? Project otherwise seems quite mature.
This doesn't seem to be a question, or if so is largely rhetorical. Consider rephrasing it, and adding information about why you want to ask the question.
XML files are not required to contain namespace declarations.