ignore empty subject tags in CSWGetRecords parser
This commit is contained in:
1 parent
78714f6de4
commit
c667e9a147
3 files changed
+9
-2
No files matched your search
@@ -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