Skip to content

Passport TD3 line one not always recognized #2

@ianardee

Description

@ianardee

Some valid TD3 format line ones will fail with the following message:
td3 line one does not match the required format (MRZ::InvalidFormatError)

Examples that will fail:

P<UTOSMITH<JONES<<SUSIE<MARGARET<<<<<<<<<<<<
P<UTOAL<BASRI<<HUDA<MUHAMMAD<JAWAD<<<<<<<<<<
P<UTOVILARCHAO<FERNANDEZ<<JOSE<RAMON<<<<<<<<

These are valid as defined by the ICAO, source:

https://www.icao.int/publications/Documents/9303_p4_cons_en.pdf - page 30

Metadata

Metadata

Assignees

No one assigned

    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