Rolling back the parts of r9051 that were not really part of #1987. These changes will come with a review of #1556. Thanks to elemoine for catching this. (see #1987, #1556)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9053 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2009-03-16 04:23:41 +00:00
parent f9e9eb61ae
commit 483c6ea4e6
2 changed files with 2 additions and 9 deletions

View File

@@ -558,12 +558,6 @@ OpenLayers.Format.GML = OpenLayers.Class(OpenLayers.Format.XML, {
this.regExes.trimSpace, "");
attributes[name] = value;
}
} else {
// If child has no childNodes (grandchildren),
// set an attribute with null value.
// e.g. <prefix:fieldname/> becomes
// {fieldname: null}
attributes[child.nodeName.split(":").pop()] = null;
}
}
}