openlayers/openlayers — pull request #152 by bartvde (2012-01-16 13:28:02+00:00)
Title: make GetRecords request work against pyCSW

When using "typeNames": "gmd:MD_Metadata" in the config, pyCSW will complain the the gml prefix is not bound. The only way to get around this in OpenLayers is currently to set the xmlns:gmd attribute in the write function, just like is done in SOSGetObservation.

full

AnyText LIKE '**'

Exception: the document is not valid.
Error: Element '{http://www.opengis.net/cat/csw/2.0.2}Query', attribute 'typeNames': The QName value 'gmd:MD_Metadata' has no corresponding namespace declaration in scope..