-
Notifications
You must be signed in to change notification settings - Fork 13
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
JAXB2 Simplify plugin #3
Comments
Can this jaxb source code used for generate another netex scheme profile? for example is BISON Netex profile. Thank you @skinkie |
The BISON NeTEx profile is not created for generating source code, but convenience for validation. But yes, you could create source code for it. |
Thank's for your response. Would you like to give me some explanation or example for implement BISON Netex profile to this netex-java-model source code? I will be very helpful @skinkie |
For the BISON profile you can use this repository as-is. The BISON profile is limited to the "NeTEx-CEN" repository for which this profile generates its code. Not leading you in a direction you should not go. And if you have any questions concerning BISON NeTEx please participate in the next "Architectuurwerkgroep" at the April 22th. |
Fine, thank you for your kind response. How I can join that "Architectuurwerkgroep"? @skinkie |
Just ask for an invitation; https://bison.dova.nu/contactinformatie-bison |
Hi Stefan, I would to ask how I can do import data with this jaxb and insert to database with BISON profile? or do you have some best solution? Thank you. @skinkie |
Are you looking for paid consultancy? |
One of the problems of the current NeTEx XSD is 'xs:choice' to model inheritance. For the programmer the resulting code form xjc is terrible. For all choice elements explicit casting is required. One of the solutions for this might be https://github.com/highsource/jaxb2-basics/wiki/JAXB2-Simplify-Plugin
I am also open for alternative solutions, which may or may not require some transformation code or even a custom netex-java-model, which is able to parse NeTEx but lacks the pain with JAXBElement.
The text was updated successfully, but these errors were encountered: