[OpenLayers-Users] XML syntax problem

James McManus jmpmcmanus at gmail.com
Wed Jan 6 14:03:13 EST 2010


Andreas,

That fixed the problem.

Thanks!
Jim

On Tue, Jan 5, 2010 at 5:14 PM, Andreas Hocevar <ahocevar at opengeo.org>wrote:

> Since you are not the first one to report this issue, I created a ticket:
>
> http://trac.openlayers.org/ticket/2398
>
> Please try out the patch there and report if it fixes your issue.
>
> Regards,
> Andreas.
>
> On 2010-01-05 17:54, James McManus wrote:
> > I'm using the script below to read a KML file. The closing
> > </description> marks in the file have a page break before them.  This
> > results in the descriptions not being read by the script below.  This
> > problem does not occur when reading the file with Google Earth.  Is
> > this a problem with Openlayers, or is Openlayers following stricter
> > XML syntax requirements?
> >
> > var real = new OpenLayers.Layer.Vector("Neuse", {
> >                 projection: map.displayProjection,
> >                 strategies: [new OpenLayers.Strategy.Fixed()],
> >                 protocol: new OpenLayers.Protocol.HTTP({
> >                     url: "real.kml",
> >                     format: new OpenLayers.Format.KML({
> >                         extractStyles: true,
> >                         extractAttributes: true
> >                     })
> >                 })
> > });
> >
> > Thanks
> > Jim
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100106/6004f524/attachment.html


More information about the Users mailing list