minor cosmetic changes

This commit is contained in:
Jachym Cepicky
2012-06-17 22:04:27 +02:00
parent 42b0172ab2
commit 43de5e9e0c

View File

@@ -316,7 +316,6 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, {
creationTime: node.getAttribute("creationTime")
};
this.readChildNodes(node, obj.status);
},
"ProcessSucceeded": function(node,obj) {
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
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) {
case 3: // text node
case 4: // cdata section
@@ -368,7 +368,7 @@ OpenLayers.Format.WPSExecute = OpenLayers.Class(OpenLayers.Format.XML, {
}
}
else {
for(var child=node.firstChild; child; child=child.nextSibling) {
for(child=node.firstChild; child; child=child.nextSibling) {
if (child.nodeType == 1) {
output.complexData.value = child;
}