[OpenLayers-Users] XML syntax problem
Andreas Hocevar
ahocevar at opengeo.org
Tue Jan 5 17:14:38 EST 2010
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.
More information about the Users
mailing list