do not wrap DOMElements in CDATA sections for WPS Execute, p=jachym, r=me (closes http://trac.osgeo.org/openlayers/ticket/3517)
This commit is contained in:
@@ -203,9 +203,14 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
schema: complexData.schema
|
||||
}
|
||||
});
|
||||
node.appendChild(
|
||||
this.getXMLDoc().createCDATASection(complexData.value)
|
||||
);
|
||||
var data = complexData.value;
|
||||
if (typeof data === "string") {
|
||||
node.appendChild(
|
||||
this.getXMLDoc().createCDATASection(complexData.value)
|
||||
);
|
||||
} else {
|
||||
node.appendChild(data);
|
||||
}
|
||||
return node;
|
||||
},
|
||||
"Reference": function(reference) {
|
||||
|
||||
Reference in New Issue
Block a user