ozlerhakan/poiji

When I set up headerCount with 0, @ExcelUnknownCells does not parse correctly

baov opened this issue · 5 comments

baov commented

Hello,

When I set up headerCount with 0, @ExcelUnknownCells does not parse correctly

image

I guess that you need at least header to work fine.

Thanks for your help.

notes :

  • com.poiji.deserialize.UnknownCellsIdenticalHeadersTest#byIndex
  • src/test/resources/unknown-cells-identical-headers.xlsx

Thank you for contributing to Poiji! Feel free to create a PR If you want to contribute directly :)

Hi @baov ,

When headerCount is set to 0, the header is treated as a data row. Plus, the annotation requires a header.

The upcoming patch release will offer support to use @ExcelUnknownCells with , for example , the headerCound=0 and skip=1 options if the header is in the first row i.e. at the index 0.

You can use v4.1.2 for the mentioned use case @baov !

baov commented

Thank you @ozlerhakan