diff --git a/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js b/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js index efa4a7d15e..8dcb5f5e2f 100644 --- a/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js +++ b/lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js @@ -64,14 +64,14 @@ OpenLayers.Format.WCSCapabilities.v1_1_0 = OpenLayers.Class( this.readChildNodes(node, obj); }, "Contents": function(node, request) { - request.contents = []; - this.readChildNodes(node, request.contents); + request.contentMetadata = []; + this.readChildNodes(node, request.contentMetadata); }, "CoverageSummary": function(node, contents) { var coverageSummary = {}; // Read the summary: this.readChildNodes(node, coverageSummary); - + // Add it to the contents array: contents.push(coverageSummary); },