fix WMSDescribeLayer format exception test case in IE9 and IE10 (see #948)
This commit is contained in:
@@ -49,8 +49,8 @@
|
|||||||
function test_read_exception(t) {
|
function test_read_exception(t) {
|
||||||
t.plan(1);
|
t.plan(1);
|
||||||
var text = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' +
|
var text = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' +
|
||||||
'<!DOCTYPE ServiceExceptionReport SYSTEM "http://mapstory.dev.opengeo.org:80/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd">' +
|
'<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd">' +
|
||||||
'<ServiceExceptionReport version="1.1.1" > <ServiceException code="LayerNotDefined" locator="MapLayerInfoKvpParser">' +
|
'<ServiceExceptionReport version="1.1.1" > <ServiceException code="LayerNotDefined">' +
|
||||||
'geonode:_map_107_annotations: no such layer on this server' +
|
'geonode:_map_107_annotations: no such layer on this server' +
|
||||||
'</ServiceException></ServiceExceptionReport>';
|
'</ServiceException></ServiceExceptionReport>';
|
||||||
var format = new OpenLayers.Format.WMSDescribeLayer();
|
var format = new OpenLayers.Format.WMSDescribeLayer();
|
||||||
|
|||||||
Reference in New Issue
Block a user