[OpenLayers-Users] openlayers 2.13.1 examples not working
Andreas Hocevar
ahocevar at boundlessgeo.com
Mon Nov 25 04:24:33 PST 2013
This is because of a circular dependency:
OpenLayers.Format.OWSCommon requires OpenLayers.Format.XML.VersionedOGC
requires OpenLayers.Format.OGCExceptionReport requires
OpenLayers.Format.OWSCommon.
I think VersionedOGC should not require OGCExceptionReport. It should not
automatically run the data through the OGCExceptionReport parser, because
then applications need to duck type the return type of the original parser
they wanted to use. So instead, VersionedOGC should throw an exception, and
applications can use try/catch to run the data through the
OGCExceptionReport parser in the catch block, if desired.
Andreas.
On Mon, Nov 25, 2013 at 1:06 PM, Bart van den Eijnden <
bartvde at boundlessgeo.com> wrote:
> Yes, same for me, thanks for the report.
>
> It has our attention, see:
>
>
> https://github.com/openlayers/openlayers/commit/dd8e99a2c9e610123ba3ecc578b29d12c51594ce#commitcomment-4691576
>
> Hopefully this will be resolved shortly.
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> Front-end Developer | Boundless
> @boundlessgeo
>
> On 25 Nov 2013, at 11:32, Jeremy Brooks <jeremybrooks321 at googlemail.com>
> wrote:
>
> Hi guys, is anyone else having problems using the openlayers 2 examples,
> they are all failing to load complaing that openlayers is undefined.
>
> Thanks,
> Jeremy.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20131125/405528c0/attachment.html>
More information about the Users
mailing list