-
Notifications
You must be signed in to change notification settings - Fork 37
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
Recessive node attributes not set anymore in Xpp3DomUtils when dominant root node value is empty #230
Comments
@kwin were you able to have a look at the reproducer already? |
Not yet. Can you simplify that into a unit test? The reproducer uses a lot of xpp3dom merging methods. It is still not clear to me which method calls the dominant element with an empty value and why… |
It's this part that has been removed: 67ac243#diff-8daf65446126b8abe5b619665bb0697d522273192ee8cb2bd74a371e3eb3b407L143-L148 It's not easy to simplify but the reproducer shows nicely the diff between the files and what is not working as expected. |
@kwin any update on this? |
@kwin @guylabs I wrote a simple reproducer test for this issue: https://github.com/c00ler/plexus-utils-merge-xml-reproducer/blob/main/src/test/java/com/github/avenderov/ReproducerTest.java. It shows that the issue is not in the |
The corresponding ticket in the maven issue tracker: https://issues.apache.org/jira/browse/MNG-7683 |
Closing as the issue lies in the maven 4 code base. |
The change in 67ac243 causes different merging outcomes before and after the change. This has been discussed in 67ac243#r94996401.
A reproducer of the issue is shown in https://github.com/guylabs/plexus-utils-merge-xml-reproducer where the same configuration is executed on Maven
3.8.7
and on Maven4.0.0-alpha3
.The text was updated successfully, but these errors were encountered: