Skip to content

Serialization to XML #10

Description

@awvwgk

After thinking about #5 and #3 for a while, we possible need to come up with a way better high-level testing framework. This idea is somewhat inspired by the TOML community and one of their testing frameworks: If we really want to test HSD implementations, we have to store the data in a programming language independent format, the tree representation in DFTB+ or a Python dict is not such a format, but the XML format which inspired HSD would certainly be suitable.

Implementing a serializer to write HSD data as XML would allow to reread the XML and compare to a reference XML by a trusted decoder implementation, this would ensure the decoding of HSD is working correctly. A similar scheme could test the encoding, but requires a trusted HSD implementation (e.g. DFTB+).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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