implement readers for URL endpoints in WFS 1.1

This commit is contained in:
Bart van den Eijnden
2012-02-09 14:10:49 +01:00
parent 85b9d5f7f9
commit 3a23f15041
3 changed files with 54 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ OpenLayers.Format.WFSCapabilities.v1 = OpenLayers.Class(
for(var i=0; i<children.length; ++i) {
childNode = children[i];
if(childNode.nodeType == 1) {
processor = this["read_cap_" + childNode.nodeName];
processor = this["read_cap_" + childNode.nodeName.replace(":", "_")];
if(processor) {
processor.apply(this, [obj, childNode]);
}