Skip to content

AIs with more than 2 digits not working #2

Description

@csaar95

The parsing of following code 241ABC1234<FNC1>100815 results in:

 [{
   "identifier": "24",
   "value": "1ABC1234",
   "length": 8
 }, {
   "identifier": "10",
   "value": "0815",
   "length": 4
 }]

The AI 24 doesn't exist (https://www.gs1.org/standards/barcodes/application-identifiers), the correct result would've been identifier "241" and value "ABC1234".

Unortunately in this case the module is absolutely useless:/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions