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

Simplify plugin fixes #453

Closed
laurentschoelens opened this issue Nov 17, 2023 · 1 comment · Fixed by #455
Closed

Simplify plugin fixes #453

laurentschoelens opened this issue Nov 17, 2023 · 1 comment · Fixed by #455
Assignees
Labels
bug xjc-plugins Issue concerns basics plugins

Comments

@laurentschoelens
Copy link
Collaborator

See this issue highsource/jaxb2-basics#115

Also this SO question https://stackoverflow.com/questions/72382188/isset-methods-not-generated-using-jaxb2-basics-simplify-plugin

Simplify plugin should respect if possible the globalBindings customizations

@laurentschoelens laurentschoelens added bug xjc-plugins Issue concerns basics plugins labels Nov 17, 2023
@laurentschoelens laurentschoelens self-assigned this Nov 17, 2023
@laurentschoelens
Copy link
Collaborator Author

laurentschoelens commented Nov 20, 2023

Both problems, same rootcause :
XJC calls this when (for example) createReferenceProperty : com.sun.tools.xjc.reader.xmlschema.bindinfo.BIProperty#wrapUp

The wrapUp function is responsible of determine FieldRenderer type, which is determine by the globalBindings properties

laurentschoelens added a commit to laurentschoelens/jaxb-tools that referenced this issue Nov 21, 2023
mattrpav pushed a commit to mattrpav/jaxb-tools that referenced this issue Feb 5, 2024
mattrpav pushed a commit to mattrpav/jaxb-tools that referenced this issue Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug xjc-plugins Issue concerns basics plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant