From 2a21d61400c4ec5f0a6b2e36ca96faa91b523154 Mon Sep 17 00:00:00 2001 From: Christopher Eykamp Date: Wed, 19 Dec 2012 11:19:56 +0100 Subject: [PATCH] Change errorProperty to fix bug; now passes all tests --- lib/OpenLayers/Format/WFSCapabilities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Format/WFSCapabilities.js b/lib/OpenLayers/Format/WFSCapabilities.js index 8c434b47ef..ec82ae984b 100644 --- a/lib/OpenLayers/Format/WFSCapabilities.js +++ b/lib/OpenLayers/Format/WFSCapabilities.js @@ -29,7 +29,7 @@ OpenLayers.Format.WFSCapabilities = OpenLayers.Class(OpenLayers.Format.XML.Versi * errorProperty is undefined on the returned object, the document will be * run through an OGCExceptionReport parser. */ - errorProperty: "service", + errorProperty: "featureTypeList", /** * Constructor: OpenLayers.Format.WFSCapabilities