yrashk / bpxe.rs

Business Process eXecution Engine
Apache License 2.0
36 stars 10 forks source link

Problem: XmlRead implementation for bpmn::schema::Expr #7

Open yrashk opened 3 years ago

yrashk commented 3 years ago

Implementation referred to: https://github.com/bpxe/bpxe/blob/master/bpxe-bpmn-schema/src/expr.rs

It's somewhat complex and it has to deal with deserializing content of its two variants.

Proposed solution: find a way for strong-xml to handle mixed content elements correctly and get content handling delegated to Expression and FormalExpression implementations of XmlRead. Hopefully this will make this whole thing easier to comprehend and maintain.