appinfo can be specified multiple times, so use an array instead thanks @ahocevar
This commit is contained in:
@@ -149,7 +149,10 @@ OpenLayers.Format.WFSDescribeFeatureType = OpenLayers.Class(
|
||||
this.readChildNodes(node, obj.annotation);
|
||||
},
|
||||
"appinfo": function(node, obj) {
|
||||
obj.appinfo = this.getChildValue(node);
|
||||
if (!obj.appinfo) {
|
||||
obj.appinfo = [];
|
||||
}
|
||||
obj.appinfo.push(this.getChildValue(node));
|
||||
},
|
||||
"documentation": function(node, obj) {
|
||||
if (!obj.documentation) {
|
||||
|
||||
Reference in New Issue
Block a user