Open GoogleCodeExporter opened 8 years ago
Why do you need to do that?
Original comment by geocodezip
on 8 Jan 2015 at 11:08
Hello,
We produce kml data using the java API
http://labs.micromata.de/projects/jak.html, that produces by default xml with
namespace.
Presence of namespace in the kml causes the parsing to fail because of the
Geometry = GeometryPN.nodeName; that get the nodeName including namespace,
causing the switch to use the "default" block.
As the rest of geoxml3 code supports namespace, it seems simple to me fo fix
Geometry = GeometryPN.nodeName
by changing it to Geometry = GeometryPN.localName;
I tested it and it seems ok to me.
Is it ok for you ?
Original comment by djeanpr...@gmail.com
on 8 Jan 2015 at 11:14
Is there a chance you would consider fixing this issue, or do you think it's
worthless ?
Thanks.
Original comment by djeanpr...@gmail.com
on 8 Jan 2015 at 4:54
I would consider a patch that does that, if you would like to provide one, as
long as it is backwards compatible (doesn't break existing functionality).
Original comment by geocodezip
on 1 Jun 2015 at 7:33
Hello,
Here is the requested patch. Please note that as I haven't got any unit tests,
I can't check it, though it works for me.
Thank you.
Original comment by gilian.h...@gmail.com
on 8 Jun 2015 at 8:36
Attachments:
Original issue reported on code.google.com by
gilian.h...@gmail.com
on 8 Jan 2015 at 10:43Attachments: