Skip to content

Conversation

@Bergmann89
Copy link
Owner

Related to #137 and #140

If a schema defines a `state` attribute or element, the generated code
for the quick_xml deserializer has a naming conflict of the struct fields.
To resolve this we renamed the internal state of the deserializer to
`state__`.
The interpreter paniced if a schema defined a `xs:pattern` for enum or
union types. To solve this we now apply constrains derived from the
different facets for all suitable types (simple, enum and union).
@Bergmann89 Bergmann89 marked this pull request as ready for review October 16, 2025 20:03
If a element is nillable and at the same time a substitution group
the generated code was invalid. The dynamic type was created on the
nillable type, not on the inner type of the nillable type.
@Bergmann89 Bergmann89 merged commit eae9279 into master Oct 16, 2025
3 checks passed
@Bergmann89 Bergmann89 deleted the improvements branch October 16, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant