[OpenLayers-Trac] [OpenLayers] #3517: WPSExecute ComplexData input
fix (patch included)
OpenLayers
trac-20090302 at openlayers.org
Fri Sep 23 21:00:20 EDT 2011
#3517: WPSExecute ComplexData input fix (patch included)
-------------------------------+--------------------------------------------
Reporter: jachym | Owner: bartvde
Type: feature | Status: new
Priority: minor | Milestone: 2.12 Release
Component: Format.WPSExecute | Version: 2.11
Keywords: | State:
-------------------------------+--------------------------------------------
If the input options structure for
OpenLayers.Format.WPSExecute.prototype.write() method contains
{{{
....
complexData: {
attributes: {
mimeType: "text/xml"
},
value: <XML_ELEMENT>
}
}}}
so, some XML element (e.g. created with OpenLayers.Format.XML),
than the XML nodes are handled as text, and WPS server implementations do
not like them.
The patch takes care, whether the input data is string or not. If not, it
is assumed, that the input data are already DOMEelement, and they can be
appended to parent element as child node. If they are string, the original
approach is used.
--
Ticket URL: <http://trac.openlayers.org/ticket/3517>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list