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

handling of uppercase collection properties doesnt work #61

Open
mkeskells opened this issue Aug 11, 2021 · 2 comments
Open

handling of uppercase collection properties doesnt work #61

mkeskells opened this issue Aug 11, 2021 · 2 comments
Labels

Comments

@mkeskells
Copy link

mkeskells commented Aug 11, 2021

when you have a field generated from

<xs:element name="URI" type ="..

the plugin looks for a method getURIs, but for some reason JAXB generated a method getURIS, so the rewrite didn't remove and fix this

I worked around the issue by specifying the property name to be "uris" in the jaxb binding file

I cant see the way to make this bulletproof though - not sure of the rules for the generation of the method names

@sabomichal sabomichal added the bug label Sep 22, 2021
@sabomichal
Copy link
Owner

Were you using multiple xjc plugins? What exactly did generate the plural form of the method name? I somehow can not reproduce this behavior.

@mkeskells
Copy link
Author

mkeskells commented Dec 2, 2021 via email

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

No branches or pull requests

2 participants