Skip to content

Lingering serde whitespace bug #896

@jamwil

Description

@jamwil

Thanks to the work of @ggodlewski, whitespace is now preserved by default according to the xml specification when deserializing with serde. I note, however, one lingering apparent inconsistency in the case of deserializing a string consisting of only whitespace.

I've isolated the issue in these contrasting passing and failing tests.

Is this intended behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedserdeIssues related to mapping from Rust types to XML

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions