Skip to content

Add ISO 8583:2023 dataset support and cmfv3 packager#683

Merged
ar merged 3 commits intomainfrom
feat/iso8583-2023-datasets
Mar 28, 2026
Merged

Add ISO 8583:2023 dataset support and cmfv3 packager#683
ar merged 3 commits intomainfrom
feat/iso8583-2023-datasets

Conversation

@ar
Copy link
Copy Markdown
Member

@ar ar commented Mar 28, 2026

Introduce first-class dataset handling in jPOS for composite data elements using TLV and DBM formats, including raw ICC data support for DE 55.

Add dataset model classes and packagers, integrate them with GenericPackager and XML packagers, add fluent with/without helpers, support deep cloning of dataset fields, and document the new API.

Keep legacy cmf.xml unchanged for backward compatibility and add cmfv3.xml with dataset-aware definitions and tests.

ar added 3 commits March 28, 2026 10:03
Introduce first-class dataset handling in jPOS for composite data
elements using TLV and DBM formats, including raw ICC data support
for DE 55.

Add dataset model classes and packagers, integrate them with
GenericPackager and XML packagers, add fluent with/without helpers,
support deep cloning of dataset fields, and document the new API.

Keep legacy cmf.xml unchanged for backward compatibility and add
cmfv3.xml with dataset-aware definitions and tests.
Remove the unsafe ISODataset cast from ISOMsg dataset cloning and
clone datasets through the Dataset interface.

Replace ICCDataPackager class-name matching with an explicit
ISODatasetPackager capability method indicating whether the standard
dataset envelope is present.

Document the unsupported DBM TLV continuation path with a TODO
referencing ISO 8583:2023 §4.4.4.4.
Extend DatasetPackager to decode and encode DBM datasets that carry
a trailing BER-TLV section when the DBM TLV continuation bit is set.

Split DBM-addressable elements from trailing TLV elements during
packing, parse the trailing TLV payload during unpacking, and add
round-trip coverage for the hybrid DBM+TLV format.
@ar ar merged commit 808de40 into main Mar 28, 2026
2 checks passed
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.

1 participant