Skip to content

JAXB2 Simplify plugin #3

Description

@skinkie

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions