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

Allow defining more than one @XmlNs binding in package-info.java #457

Closed
2 tasks done
laurentschoelens opened this issue Nov 23, 2023 · 9 comments · Fixed by #472
Closed
2 tasks done

Allow defining more than one @XmlNs binding in package-info.java #457

laurentschoelens opened this issue Nov 23, 2023 · 9 comments · Fixed by #472
Assignees
Labels
enhancement xjc-plugins Issue concerns basics plugins

Comments

@laurentschoelens
Copy link
Collaborator

laurentschoelens commented Nov 23, 2023

Related to SO question

  • Study the possibility of defining extra bindings for namespace :
<bindings schemaLocation="my-xsd-v1.1.xsd">
    <bindings>
        <namespace:prefix name="v1p1" />
        <namespace:prefix name="v1p0" namespaceURI="http://my.xsd.namespace/v1_0" />
    </bindings>
</bindings>

The v1p1prefix name would be bound to the namespace of my-xsd-v1.1.xsd and the v1p0 prefix would be bound to the http://my.xsd.namespace/v1_0 namespace defined in the namespaceURI attribute.

  • Check if marshalling produce expected
@laurentschoelens laurentschoelens added enhancement xjc-plugins Issue concerns basics plugins labels Nov 23, 2023
@laurentschoelens laurentschoelens self-assigned this Nov 23, 2023
@laurentschoelens
Copy link
Collaborator Author

Another related SO question

@yurii20041
Copy link

Hi @laurentschoelens,
Do you have any updates regarding this issue?

I'm looking for the solution, because previous version of the namespace-prefix worked for the same case.
I'm wondering, why the result is different after migration.

I'd appreciate any help on this. And thank you and team for the latest jakarta based releases!! ^_^

@laurentschoelens
Copy link
Collaborator Author

I'll try to work on this one next week.
Maybe it'll be part of the 4.0.1 release which should come shortly

@laurentschoelens
Copy link
Collaborator Author

@yurii20041 : PR done 😉 #472

@yurii20041
Copy link

Hi @laurentschoelens,
Thank you so much for the quick response.
Could you please provide the date when it's planned to cut release with 4.0.1 version?

@laurentschoelens
Copy link
Collaborator Author

This should be released shortly (and then 3.x and 2.x branches will be released too).

@yurii20041
Copy link

Hi @laurentschoelens, could you please share any plan regarding upcoming releases?

@laurentschoelens
Copy link
Collaborator Author

It's up to @mattrpav which is quite overbooked these days. I'll keep you updated 😉

@laurentschoelens
Copy link
Collaborator Author

@yurii20041 PR merged
Release should be out this week (currently working on it with new release process to handle the now multi branch structure)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement xjc-plugins Issue concerns basics plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants