Skip to content

Conversation

@laurentschoelens
Copy link
Collaborator

Fixes #576

If field is required collection attribute field, don't use the "isSetAttribute" method and just check != null

@laurentschoelens laurentschoelens added this to the 4.0.10 milestone Apr 29, 2025
@laurentschoelens laurentschoelens changed the title [576] enhance CopyablePlugin to handle required attributes [#576] enhance CopyablePlugin to handle required attributes Apr 30, 2025
@laurentschoelens laurentschoelens added enhancement xjc-plugins Issue concerns basics plugins labels Apr 30, 2025
Copy link
Collaborator

@mattrpav mattrpav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mattrpav mattrpav merged commit e88c092 into highsource:master Apr 30, 2025
3 checks passed
@mattrpav mattrpav deleted the jt-576 branch April 30, 2025 17:27
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 this pull request may close these issues.

CopyablePlugin does not copy empty lists --> invalid XML

2 participants