Skip to content

Missing Message Types in S2 Parser TYPE_TO_MESSAGE_CLASS dictionary #109

@AndrewRutherfoord

Description

@AndrewRutherfoord

The TYPE_TO_MESSAGE_CLASS dictionary in s2_parser.py is missing entries for several S2 message types that have already been implemented within the library. This causes validation failures when attempting to parse or validate messages of these types, as the parser incorrectly identifies them as invalid S2 messages. Currently only the general messages and FRBC messages are included. All message types for DDBC, OMBC, PEBC and PPBC have not been included but already exist in within the repository.

Proposed Solution: Add the missing message types to the TYPE_TO_MESSAGE_CLASS dictionary in s2_parser.py since they have already been created but are just missing from the dictionary.

s2_parser.py

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions