-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CDATA section ignored in KML description #17
Comments
Hi Robertico ! This part parses the XML into nodes and gives it to If the problem was fixed in togeojson, we might pass the raw XML instead of parsing it here... Could you try to change this and see if it helps ? Thanks for reporting! |
Hi, I'm not sure I understand you correctly. Sorry, I'm not a professional programmer :-) |
Well, I upgraded togeojson towards 0.8.1, and it works wel, it strips out CDATA out of texts ! |
I doubted my findings, but...
but this does !
So it must be a single line without line breaks. |
In the example I tried it worked.
Otherwise, it would be a bug in togeojson... |
Thanks. Created a new issue on togeojson for this. |
I close this issue. If someone has still problems with it please reopen ! |
When I load a KML file the KML description is ignored when it's inside a CDATA section.
This works just fine,
but not this one;
It seems an old issue in togeojson.js and should be fixed mapbox/togeojson#42
Using the latest togeojson.js file doesn't solved my problem.
Is this a leaflet.filelayer issue or togeojson.js ?
Regards,
Robertico
The text was updated successfully, but these errors were encountered: