minor cosmetic changes
This commit is contained in:
@@ -316,7 +316,6 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
creationTime: node.getAttribute("creationTime")
|
creationTime: node.getAttribute("creationTime")
|
||||||
};
|
};
|
||||||
this.readChildNodes(node, obj.status);
|
this.readChildNodes(node, obj.status);
|
||||||
|
|
||||||
},
|
},
|
||||||
"ProcessSucceeded": function(node,obj) {
|
"ProcessSucceeded": function(node,obj) {
|
||||||
obj.processSucceeded = true;
|
obj.processSucceeded = true;
|
||||||
@@ -359,7 +358,8 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
|
|
||||||
// try to get *some* value, ignore the empty text values
|
// try to get *some* value, ignore the empty text values
|
||||||
if (this.isSimpleContent(node)) {
|
if (this.isSimpleContent(node)) {
|
||||||
for(var child=node.firstChild; child; child=child.nextSibling) {
|
var child;
|
||||||
|
for(child=node.firstChild; child; child=child.nextSibling) {
|
||||||
switch(child.nodeType) {
|
switch(child.nodeType) {
|
||||||
case 3: // text node
|
case 3: // text node
|
||||||
case 4: // cdata section
|
case 4: // cdata section
|
||||||
@@ -368,7 +368,7 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
for(var child=node.firstChild; child; child=child.nextSibling) {
|
for(child=node.firstChild; child; child=child.nextSibling) {
|
||||||
if (child.nodeType == 1) {
|
if (child.nodeType == 1) {
|
||||||
output.complexData.value = child;
|
output.complexData.value = child;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user