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

XML Examples for Arrays/Lists are missing the list-item-element #642

Closed
sam0r040 opened this issue Mar 6, 2024 · 1 comment
Closed

XML Examples for Arrays/Lists are missing the list-item-element #642

sam0r040 opened this issue Mar 6, 2024 · 1 comment
Labels
bug Something isn't working staged for release

Comments

@sam0r040
Copy link
Collaborator

sam0r040 commented Mar 6, 2024

Describe the bug
Given the following class definition

@XmlRootElement(name = "ArrayFoo")
private static class ArrayFoo {
    private List<SimpleFoo> fList;
}

The following example should be generated:

<ArrayFoo>
    <flist>
        <SimpleFoo>
            <b>true</b>
            <s>string</s>
        </SimpleFoo>
    </flist>
</ArrayFoo>

But currently the following example is generated:

<ArrayFoo>
    <flist>
        <b>true</b>
        <s>string</s>
    </flist>
</ArrayFoo>

Dependencies and versions used
1.0.0
Code example
If possible, an example project or snippet that reproduces the bug.

Stack trace and error logs
If an exception has been thrown or an error was logged by springwolf.

@sam0r040 sam0r040 added the bug Something isn't working label Mar 6, 2024
sam0r040 added a commit to sam0r040/springwolf-core that referenced this issue Mar 8, 2024
sam0r040 added a commit that referenced this issue Mar 8, 2024
@timonback
Copy link
Member

Thank you for the report, the issue has been addressed in the new release.

Feel free to reopen this issue if there is still something missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working staged for release
Projects
None yet
Development

No branches or pull requests

2 participants