Closed yrashk closed 3 years ago
This seems to still be a problem with strong-xml, did you file an issue there?
@SoftwareApe this is most likely an issue with strong-xml and I didn't file this as the maintainer doesn't seem to be responsive. I've opened issues there before and received no acknowledgment.
The problem seem to be related to the fact that
Expression
has not only text but also attributes and children elements. https://github.com/bpxe/bpxe.rs/blob/master/src/bpmn/schema/autogenerated.rs#L5796-L5815How to reproduce: run
cargo test -- --ignored
The error:
https://github.com/bpxe/bpxe.rs/blob/master/tests/bpmn_test.rs#L4-L9
Proposed solution #1: find and fix a bug in strong-xml
Proposed solution #2: write own deserialization derivation