The AI 254 (GLN Extension Component - 1 to 20 digits) is not properly handled by Barcode4J.
It is currently handled as a 2 digits AI (25), while it is 3 digits (254)
Adding "254=an-20" to EAN128AIs.properties fixes the problem
Piero, this is correct. I will add the new AI as soon as possible. But first I have to find out what else changed in the last years. AI 253 is missing too.
If it can be of any help, this is fairly recent (2011) and contain a complete list
This one is from Jan 2010, same list but the format seems more similar to the one used in the properties file: