ignore empty subject tags in CSWGetRecords parser
This commit is contained in:
@@ -262,7 +262,9 @@ OpenLayers.Format.CSWGetRecords.v2_0_2 = OpenLayers.Class(OpenLayers.Format.XML,
|
||||
dc_element[attrs[i].name] = attrs[i].nodeValue;
|
||||
}
|
||||
dc_element.value = this.getChildValue(node);
|
||||
obj[name].push(dc_element);
|
||||
if (dc_element.value != "") {
|
||||
obj[name].push(dc_element);
|
||||
}
|
||||
}
|
||||
},
|
||||
"dct": {
|
||||
|
||||
Reference in New Issue
Block a user