gnodet opened a new pull request, #2944:
URL: https://github.com/apache/cxf/pull/2944

   ## Summary
   
   - `ServiceWSDLBuilder` uses a `HashMap` for `ns2prefix`, causing 
non-deterministic namespace prefix assignment in generated WSDL
   - This leads to inconsistent output where elements may appear with or 
without namespace prefixes (e.g., `<service>` vs `<wsdl:service>`) depending on 
`HashMap` iteration order
   - Switch to `LinkedHashMap` to ensure insertion-order iteration, making 
prefix assignment deterministic
   
   Related: #1517 (flaky `NettyServerTest.testGetWsdl` caused by this 
non-determinism)
   
   ## Test plan
   
   - [x] `rt/wsdl` module tests pass
   - [ ] Verify WSDL output is now consistent across runs
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to