I work for border patrol in Norway. We observe that JMRTD fails with MRZs that have only one name.
This is an anonymized example of such an MRZ:
P<MYSABC<DEFG<HIJKLMNOP<QRS<TUV<XYZABCDEFGHI
A984726053MYS8709125M2204134880811055050<<52
This happens consistantly with all one name MRZs from Malaysia.
This is legal according to the ICAO 9303 specification for name field in MRZ. The double filler can be absent from the name field, which means that the only name in MRZ is then the primary identifier, which again might be truncated if the last character isn't a filler.
These persons who we observe that crashes in JMRTD because MrzInfo complaints that there isn't a primary identifier present all have primary identifiers that are 39 characters or more.
Anonymous
Looks like
MRZInfodemands that"<<"occurs as a substring in the name field and throws anIllegalArgumentExceptionif it doesn't.Solved in commit 1671.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
@Martin, thanks! This was fast. :-)