Skip to content

KML.jl generates invalid XML #10

@dominformant

Description

@dominformant

When writing a KML Document to a file, the XML header is generated in a wrong order leading to invalid XML files. The header is generated as <?xml encoding="UTF-8" version="1.0"?>, however the specification says, that the order has to be <?xml version="1.0" encoding="UTF-8"?>.
I assume this comes from the "attributes" being defined in a Dict, which is unorderes as far as I understood.

Node(XML.Declaration, nothing, Dict("version" => "1.0", "encoding" => "UTF-8")),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions