Skip to content

Cml generated does not match CML Schema #22

@MikeWilliams-UK

Description

@MikeWilliams-UK

The CML Schema requires that the file has a <cml> root element.
See Minimal Molecule example.

using (var file = new FileStream("./data/output.xml", FileMode.Create, FileAccess.Write))
{
    using (var writer = new CMLWriter(file))
    {
        writer.Write(layedOutMol);
    }
}

file ./data/output.xml is missing cml root element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions