somranjan / beanio

Automatically exported from code.google.com/p/beanio
Apache License 2.0
0 stars 0 forks source link

Completely padded fixed length fields may parse incorrectly #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Given a fixed length field where padding='0' and type='int', a field '000' is 
parsed as '' and should be parsed as '0'.

If the field type extends from Number and the padding character is a digit, a 
fully padded field should return the padding character.

If the field type is Character, a fully padded field should return the padding 
character.

Original issue reported on code.google.com by kevin.s...@gmail.com on 29 Jan 2011 at 9:34

GoogleCodeExporter commented 8 years ago
Fixed in release 0.9.2.

Original comment by kevin.s...@gmail.com on 30 Jan 2011 at 12:09