Skip to content

Conversation

@zubri
Copy link
Member

@zubri zubri commented Nov 26, 2025

Re-opening PR #163 with base branch changed from java8-maintenance to main.

This PR contains the SRU2025 schema updates for the Java 8 maintenance branch.

zubri and others added 24 commits April 10, 2025 19:21
* feat: Enhanced the `MxParseUtils` to be lenient when the XML declaration has empty or invalid version attribute

* (PW-2637) Block-5-5PDE-is-getting-generated-even-though-PssblDplct-value-is-false in AppHdr (#167)

* getCpyDplct is not applicable to decide Duplicate [PDE]

* getCpyDplct is not applicable to decide Duplicate [PDE]

* Update CHANGELOG.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update iso20022-core/src/test/java/com/prowidesoftware/swift/model/mx/BusinessAppHdrV02Test.java

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: changelog indentation

* chore: code rabbit suggestion

* getCpyDplct is not applicable to decide Duplicate [PDE]. Fixed Testcase

---------

Co-authored-by: Sebastian Zubrinic <sebastian@prowidesoftware.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: prowide core update

* chore: release

* chore: IDEA conf

* chore: fix gradle for new maven central publication

* chore: prowide core update

* chore: release

---------

Co-authored-by: zubri <sebastian@prowidesoftware.com>
Co-authored-by: malai-subra <malai.subramanian@prowidesoftware.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore: prowide core update

* chore: release

* Enhanced camt.057 amount extraction in the DefaultMxMetadataStrategy (#176)

* (GH-175) Removed extra double quote in minimum escape handler (#174)

* removed extra double quote in minimum escape handler

it was a bug in default escape handler resolved by zubrin
in SRU2022 -9.3.7

* Add test coverage and CHANGELOG entry for MinimumEscapeHandler bugfix

- Added comprehensive test suite for MinimumEscapeHandler
- Tests validate quote handling in attribute and non-attribute contexts
- Tests confirm the fix for duplicated quote characters (GH-174)
- Updated CHANGELOG.md with entry for version 10.2.10-SNAPSHOT

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: zubri <sebastian@prowidesoftware.com>
Co-authored-by: Claude <noreply@anthropic.com>

* fix: spotless

* (GH-168) Fix MX parsing error when AppHdr appears before Document in xsys messages (#177)

* Fix MX parsing error when AppHdr appears before Document in xsys messages

Fixed parsing error in MxXsys messages when AppHdr element appears before
Document element in the XML envelope (correct SWIFT standard order).

Root cause: NamespaceAndElementFilter was not preserving xsys namespace
prefix mappings (Sw, SwInt, SwGbl) that were declared before the Document
element was encountered, causing NullPointerException during parsing.

Solution: Added pending prefix mappings queue to store xsys namespace
mappings encountered before the target element, then flush them when
entering the element to propagate.

Changes:
- Modified NamespaceAndElementFilter to queue and propagate pending
  namespace prefix mappings
- Added comprehensive test case for AppHdr positioning scenarios
- Updated CHANGELOG.md with fix entry

Fixes #168

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Use imports instead of fully qualified names

Changed java.util.List and java.util.ArrayList to use import statements
instead of fully qualified names for better code readability.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>

* (GH-165) Added parseElement method to parse standalone JAXB elements from non-standard XML wrappers (#178)

Added MxParseUtils.parseElement() methods to support parsing SWIFTNet infrastructure acknowledgment elements like SwIntWaitResponse from non-standard XML wrapper structures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>

* chore: release

* (PW-2895) Fix namespace prefix handling for custom envelope types in XML serialization (#179)

* (PW-2895) Fix namespace prefix handling for custom envelope types in XML serialization

* (PW-2895) Obfuscated test

* fix: test

---------

Co-authored-by: ecancrini <ecancrini@gmail.com>
Co-authored-by: zubri <sebastian@prowidesoftware.com>

---------

Co-authored-by: zubri <sebastian@prowidesoftware.com>
Co-authored-by: Fernando de Sarriera <71713679+fernando-prowide@users.noreply.github.com>
Co-authored-by: Mridul Gupta <66024896+MridulGupta75@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Ezequiel Cancrini <ECancrini@alchemy14.com>
Co-authored-by: ecancrini <ecancrini@gmail.com>
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.

4 participants