ZF-8643: Zend_Validate_Barcode_Code25 only accept barcodes with an even number of characters


Code 25 should accept all length and a new Interleaved 2 of 5 validator should only accept even number.


According to manual Code25 is the validator for "Code25 Interleaved 2 of 5" and it MUST be even. See here:

This is not a bug.

I know that but in this case we have perhaps to rename Code25 to Int25 and to create a new Code25 (

Unfortunatly all tests, I made with Zend_Barcode, were always with even number of characters. I only saw it today.

You are referring to Code25 - Non Interleaved

Exactly, I propose to rename existing one to Code25i or Int25 and to create a new one for non-interleaved

Changing type from bug to improvement

Implemented with r20003