Skip to content

Fix REXML 3.4.4 nodeset warnings in fault handling - #362

Merged
pcai merged 1 commit into
mainfrom
fix/rexml-nodeset-warnings
Sep 13, 2026
Merged

pcai merged 1 commit into
mainfrom
fix/rexml-nodeset-warnings

Conversation

@pcai

@pcai pcai commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #355, thanks to @adfoster-r7 for the diagnosis.

REXML 3.4.4 dropped nodeset support in XPath.first, so passing the soap_errors array warns on every fault response. Since a leading // is document-absolute in REXML anyway, searching response_xml directly is exactly equivalent to the old nodeset behavior on all REXML versions.

(Deliberately not the find-based form from the issue: find returns the Fault child element rather than the matched node, which would change WinRMWSManFault's message and Code.)

@pcai pcai mentioned this pull request Sep 13, 2026
@pcai
pcai merged commit 9f740bb into main Sep 13, 2026
11 checks passed
@pcai

pcai commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

@adfoster-r7 thank you

@pcai
pcai deleted the fix/rexml-nodeset-warnings branch September 13, 2026 17:36
@pcai pcai mentioned this pull request Sep 15, 2026
pcai added a commit that referenced this pull request Sep 15, 2026
Cut 2.4.1 with the fixes that landed since 2.4.0.

- Fix SOAP fault handling for REXML 3.4.4 nodeset changes (#362)
- Validate realm and service options for the Kerberos transport (#363)

Bumps the version to 2.4.1 and records both fixes in CHANGELOG.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rexml warnings

1 participant