Skip to content
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

Serialization to XML #10

Open
awvwgk opened this issue Apr 7, 2020 · 0 comments
Open

Serialization to XML #10

awvwgk opened this issue Apr 7, 2020 · 0 comments

Comments

@awvwgk
Copy link
Member

awvwgk commented Apr 7, 2020

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+).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant