diff --git a/lib/OpenLayers/Format/Atom.js b/lib/OpenLayers/Format/Atom.js index 9c0318c47d..f026a0fc6a 100644 --- a/lib/OpenLayers/Format/Atom.js +++ b/lib/OpenLayers/Format/Atom.js @@ -180,7 +180,7 @@ OpenLayers.Format.Atom = OpenLayers.Class(OpenLayers.Format.XML, { var attrib = feature.attributes; var atomAttrib = attrib.atom || {}; var atomns = this.namespaces.atom; - var georssns = this.namespaces.georss + var georssns = this.namespaces.georss; var entryNode = this.createElementNSPlus("atom:entry"); // atom:author @@ -453,11 +453,11 @@ OpenLayers.Format.Atom = OpenLayers.Class(OpenLayers.Format.XML, { nodes = this.getElementsByTagNameNS(node, atomns, "content"); if (nodes.length > 0) { value = {}; - attval = nodes[0].getAttribute("type") + attval = nodes[0].getAttribute("type"); if (attval) { value.type = attval; } - attval = nodes[0].getAttribute("src") + attval = nodes[0].getAttribute("src"); if (attval) { value.src = attval; } else {