Hi,
Would it make sense to relax a bit the KML driver here [1] so it
accepts root without xmlns attribute?
One user reported to me that he is not able to read this file [2]
using OGR KML driver and I found this is because of missing xmlns in
root element. The KML was produced by some unknown
so
Are you doing any version-dependent actions, or just checking for one of
three versions? If not, then yes, I'd say take the namespace requirement
out.
Roger
--
On Tue, May 19, 2009 at 4:30 PM, Mateusz Loskot wrote:
> Hi,
>
> Would it make sense to relax a bit the KML driver here [1] so it
> ac
Hi Mateusz-
> Would it make sense to relax a bit the KML driver here [1] so it
> accepts root without xmlns attribute?
The problem is that the KML schema had many iterations before becoming
an OGC standard and in some cases those schema changes are not backward
compatible. The namespace exists to
I've verified that the KML driver only looks for a known version (2.0, 2.1,
2.2), but doesn't make any other use of it, so we could reasonably implement
Christopher's proposal : "if the document element _is_ kml and the version
_is not_ found or not recognized OGR issues a warning and proceeds a
Christopher Condit wrote:
> Hi Mateusz-
>> Would it make sense to relax a bit the KML driver here [1] so it
>> accepts root without xmlns attribute?
>
> The problem is that the KML schema had many iterations before becoming
> an OGC standard and in some cases those schema changes are not backward