gnodet opened a new pull request, #12110: URL: https://github.com/apache/maven/pull/12110
## Summary Backport of #11823 to maven-4.0.x. Fix consumer POM serialization so that prefixed attributes (like `mvn:combine.children`) produce valid XML even when the namespace declaration (`xmlns:mvn`) was on an ancestor element not part of the Maven model. Fixes #11760 ## Changes - Add `XmlNode.namespaces()` returning inherited prefix-to-URI bindings - Accumulate and propagate namespace context during parsing in `DefaultXmlService` - Fix `writer-stax.vm` and `writer.vm` to resolve and declare namespaces properly - Preserve dominant node's namespace context during merge - Add 28 tests covering parsing, writing, merging, and consumer POM simulation _Claude Code on behalf of Guillaume Nodet_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
