Skip to content

Implement support for xs:anySimpleType#233

Merged
Bergmann89 merged 1 commit intomasterfrom
issue-216
Feb 6, 2026
Merged

Implement support for xs:anySimpleType#233
Bergmann89 merged 1 commit intomasterfrom
issue-216

Conversation

@Bergmann89
Copy link
Owner

xs:anySimpleType was previously treated as xs:string, which is not correct. This commit adds proper support for xs:anySimpleType by introducing a new type in the xsd-parser-types crate and updating the relevant parts of the codebase to handle it correctly.
The generator is now able to be configured with any custom type for xs:anySimpleType, while the default is the newly provided type xsd_parser_types::xml::AnySimpleType.

Related to #216

`xs:anySimpleType` was previously treated as `xs:string`, which is not correct.
This commit adds proper support for `xs:anySimpleType` by introducing a new
type in the `xsd-parser-types` crate and updating the relevant parts of
the codebase to handle it correctly.
The generator is now able to be configured with any custom type for `xs:anySimpleType`,
while the default is the newly provided type `xsd_parser_types::xml::AnySimpleType`.
@Bergmann89 Bergmann89 merged commit 6d77214 into master Feb 6, 2026
2 checks passed
@Bergmann89 Bergmann89 deleted the issue-216 branch February 6, 2026 23:33
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