Skip to content

CLI produces incorrect Rust code #153

Open
@matzipan

Description

@matzipan

Using the following xsd file: ttps://sanaregistry.org/files/ndmxml_unqualified/ndmxml-3.0.0-opm-3.0.xsd

Command run: cargo run --bin xsd-parser -- -i ndmxml-3.0.0-opm-3.0.xsd

Git commit: 7c31c6e3e2ba21d2bc80aea93178a4aa276bb1ec.

On line 133, the following code is produced:

    #[derive(PartialEq, Debug, YaSerialize, YaDeserialize)]#[yaserde(prefix = "ndm", namespace = "ndm: urn:ccsds:schema:ndmxml")]

Note the missing new line.

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