Are you suggesting replacing this line:

     serviceIdentification.keywords = [];

with this?

     serviceIdentification.keywords = {};

If so... it won't run with that change.




On 2013-09-13 17:17, Bart van den Eijnden wrote:
>
> In lib/OpenLayers/Format/WCSCapabilities/v1_1_0.js:
>
> > @@ -101,7 +101,19 @@ OpenLayers.Format.WCSCapabilities.v1_1_0 = OpenLayers.Class(
> >                  }
> >              }
> >          }, OpenLayers.Format.WCSCapabilities.v1.prototype.readers["wcs"]),
> > -        "ows": OpenLayers.Format.OWSCommon.v1_1_0.prototype.readers["ows"]
> > +        "ows": OpenLayers.Util.applyDefaults({
> > +            // ows puts keywords in a dictionary, which doesn't make a
> > +            // lot of sense in this context; we just want a list, so we'll
> > +            // override this aspect of the ows parsing.
> > +            "Keywords": function(node, serviceIdentification) {
>
> why the preference of an array versus an object here? Objects should 
> be faster here.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/openlayers/openlayers/pull/846/files#r6328676>.
>