openlayers/openlayers — pull request #1219 by eykamp (2014-01-07 16:23:37+00:00)
Title: Add version and requestType to WPSDescribeProcess

Most similar requests (WxSGetCapabilities, WCSDescribeCoverage, WFSDescribeFeature, etc.) have version and requestType properties available as top level identifiers (which they get from OpenLayers.Format.XML.VersionedOGC). For some reason, WPSDescribeProcess inherits from OpenLayers.Format.XML instead, and thus does not get access to version and requestType. This makes it difficult to process data from WPSDescribeProcess using standardized methods that work with the other objects.

Because I do not understand the design logic that dictated implementing this class differently than the others, I do not want to change it. But since the version and requestType are needed, I am adding them to the class directly. It seems the least intrusive way at this point.