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

Incompatible with NeTEx V1.2 #43

Open
Celludriel opened this issue Apr 5, 2022 · 2 comments
Open

Incompatible with NeTEx V1.2 #43

Celludriel opened this issue Apr 5, 2022 · 2 comments

Comments

@Celludriel
Copy link

Hey,

We are trying to get started with NeTEx in Belgium, and I wanted to create java pojo's from the latest netex xsd's being 1.2. However first of our company is a windows company and my first hurdle was to make sure this repo worked on windows. After I had fixed that I tried running it and I ended up with one error after another, some I could fix others I could not.

Will you still maintain this repository ? Are you in close contact with the NeTEx people themselves ? It doesn't seem you can use any of the xsd's in their present form in anything technical ?

I found your latest maven released model 1.0.13, will you update it to 1.2 ?

@skinkie
Copy link
Contributor

skinkie commented Apr 5, 2022

Hi @Celludriel, and "waves as NeTEx people".

This repository works under Java, Java practically works under Windows, so which problems do you face? Have you considered just to create the jar in a Virtual Machine and use that for developement (it may already be in some maven repository).

The current XSDs can directly work in xjc (the standard Java generator) this repository uses another Java generator, it also works directly in xsData. If you talk about not being able to use it in its present form, it feels like you are using the XSD in another tool or even with a completely different programming language. The 1.2 release is just a bug fix release, correcting typo's etc.

@Celludriel
Copy link
Author

Hey Skinkie,

The binary executables are in bash script for linux, when I do a mvn clean install on windows this doesn't work since you implement the executable plugin in maven. However I have been translating them from linux bash to windows cmd script and that was progressing. Eventually running the maven cxf plugin I end up with a lot of errors.

I opened up this issue on the NeTEx github: NeTEx-CEN/NeTEx#307

I'm not sure if what I wrote is actually accurate maybe I need to write xjb bindings to separate the multiple definitions, but since they are all in the same namespace not sure that works. I'm not a Jaxb2 expert I occasionally use it in projects usually with a lot simpeler or self made xsd files.

I haven't found the 1.2 version in any mvn repository yet, the only one I found was your 1.0.13 version made 2021-09-16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants