Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate data classes with the needed annotations from XSD #154

Open
Lawrance3 opened this issue Jun 14, 2023 · 0 comments
Open

Generate data classes with the needed annotations from XSD #154

Lawrance3 opened this issue Jun 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Lawrance3
Copy link

Lawrance3 commented Jun 14, 2023

First of all, I would like to thank you for this excellent library, it greatly simplifies XML serialization and deserialization. However, I'm facing a challenge when dealing with XSDs and I'm curious if there might be a more efficient solution.

For my project, I need to generate a significant number of data classes based on a XSD schema. As of now, the current workflow is rather cumbersome. It involves the following steps:

1- Using the XSD to generate XML data sample.
2- Converting this XML sample to JSON.
3- And finally, using a JSON-to-Kotlin serializer plugin to convert this JSON data to data classes.
This process is quite tedious and time-consuming, and I believe there should be a more efficient way to accomplish this task.

Do you know of any existing way to directly generate these data classes from the XSD? If not, is this something you might consider adding as a feature in the future? Having this feature would greatly reduce the complexity of the workflow and improve productivity for those of us who regularly work with XML and XSDs.

@pdvrieze pdvrieze added the enhancement New feature or request label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants