Skip to content

fix(cmfv3): remove dead emitBitmap/bitmapField attrs from DE-043 and DE-049#690

Merged
ar merged 1 commit intomainfrom
fix/cmfv3-de043-de049-dead-attrs
Mar 29, 2026
Merged

fix(cmfv3): remove dead emitBitmap/bitmapField attrs from DE-043 and DE-049#690
ar merged 1 commit intomainfrom
fix/cmfv3-de043-de049-dead-attrs

Conversation

@ar-agt
Copy link
Copy Markdown
Collaborator

@ar-agt ar-agt commented Mar 29, 2026

Problem

cmfv3.xml declared emitBitmap="true" bitmapField="0" and an id=0 IFB_BITMAP sub-field for DE-043 (Card acceptor name/location) and DE-049 (Verification data).

These attributes are dead configuration: DatasetPackager completely overrides GenericPackager.pack()/unpack() and never calls isEmitBitmap() or reads bitmapField. The IFB_BITMAP sub-field at id=0 was also never consulted.

Both fields already correctly encode as standard dataset envelopes:

[identifier 1 byte][content length 2 bytes][DBM or TLV content]

Fix

Remove the dead attributes and the unused bitmap sub-field from both field definitions.

Tests

All DatasetPackagerTest tests pass — no behavioral change.

…DE-049

DatasetPackager fully overrides GenericPackager.pack()/unpack() and never
reads emitBitmap or bitmapField. The attributes and the id=0 IFB_BITMAP
sub-field were therefore dead configuration that had no effect on the wire
format but created misleading documentation and confusion.

Both fields correctly encode as dataset envelopes (identifier + length +
DBM/TLV content) regardless. All DatasetPackagerTest tests confirm no
behavioral change.
@ar ar merged commit 875973d into main Mar 29, 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.

2 participants