Bug 56260 - Fix some common causes of "Found a TextHeaderAtom not followed by a TextBytesAtom or TextCharsAtom: Followed by "
Summary: Fix some common causes of "Found a TextHeaderAtom not followed by a TextBytes...
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: 3.11-dev
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2014-03-14 10:06 UTC by Nick Burch
Modified: 2014-03-15 08:20 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Nick Burch 2014-03-14 10:06:24 UTC
This one has come up a few times, both on our lists and elsewhere, eg:


It seems there are a few common causes of this warning, where the file isn't quite as we expect, but it's close enough that we can still work with it. We should handle those cases, so that the warning remains only for cases which really need flagging up
Comment 1 Nick Burch 2014-03-15 08:20:13 UTC
Hopefully fixed in r1577803.

We now skip over "empty" TextHeaderAtoms, where there's no records before the next TextHeaderAtom

If there's a TextRulerAtom / MasterTextPropAtom / TextSpecInfoAtom before the Text Chars / Bytes, we skip over those