SheetJS/js-cfb

Bad parenting / hierarchy construction when parent is after R / L sibling tree

rossj opened this issue · 0 comments

rossj commented

I've noticed some files that show an incorrect folder structure with this library. I believe the dad array is not filled correctly when a node comes before it's parent, and has R or L sibling nodes. I've attached a sample file that demonstrates the issue.

In the attached .cfb file, both some file 1 and some file 2 are sibling files under some folder, but js-cfb shows some file 2 as a root level file.

image

file.zip