Correcting typo in the OSM format and adding support for null namespaceURI in IE. r=crschmidt (closes #1318)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5965 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -290,7 +290,7 @@ OpenLayers.Format.OSM = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
|
||||
this.osm_id = 1;
|
||||
this.created_nodes = {};
|
||||
var root_node = document.createElementNS(null, "osm");
|
||||
var root_node = this.createElementNS(null, "osm");
|
||||
root_node.setAttribute("version", "0.5");
|
||||
root_node.setAttribute("generator", "OpenLayers "+ OpenLayers.VERSION_NUMBER);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user