JAXB2 Simplify plugin
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reading the issue discussion and the linked JAXB2 Simplify Plugin documentation, then inspect how this repository generates its Java JAXB binding classes from the NeTEx XSD. Compare the plugin with the proposed alternative approaches and define a testable outcome for handling xs:choice inheritance without requiring explicit casts or unwanted JAXBElement usage.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Java
- Stars
- 21
- Forks
- 15
- Avg merge
- 34m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from entur/netex-java-model
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
entur/netex-java-model#287 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
entur/netex-java-model#284 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
entur/netex-java-model#43 · 2 comments ·
-
Dependency Dashboard Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
entur/netex-java-model#25 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
All issues in entur/netex-java-model
Similar issues
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/flink-agents#1156 ·
-
[source-shopify] FAILED bulk operation without partialDataUrl is silently treated as successful Openarea/connectors autoteam community connectors/source/shopify needs-triage team/use type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100