Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

JAXB2 Simplify plugin

Open
#3 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
backend, tooling

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from entur/netex-java-model

All issues in entur/netex-java-model

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.