Looser check for DZI schema

This commit is contained in:
Ian Gilman 2017-07-13 17:16:13 -07:00
parent 356ea78b26
commit 65b41c3f6e

View File

@ -113,8 +113,10 @@ $.extend( $.DziTileSource.prototype, $.TileSource.prototype, /** @lends OpenSead
}
}
return ( "http://schemas.microsoft.com/deepzoom/2008" == ns ||
"http://schemas.microsoft.com/deepzoom/2009" == ns );
ns = (ns || '').toLowerCase();
return (ns.indexOf('schemas.microsoft.com/deepzoom/2008') !== -1 ||
ns.indexOf('schemas.microsoft.com/deepzoom/2009') !== -1);
},
/**