[
https://issues.apache.org/jira/browse/TIKA-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212609#comment-14212609
]
Bin Hawking commented on TIKA-1446:
-----------------------------------
Hong-Thai Nguyen,
I updated the code, see
https://github.com/binhawking/tika/compare/thaichat04:trunk...trunk
After this update, your test case passed. And I added your chm files to the
test file list, but I found that 3 files (IM*.CHM) contains bad html pages
without </html>, so their test will fail. It is not a problem.
> CHM parser : wrong decompression of aligned blocks
> --------------------------------------------------
>
> Key: TIKA-1446
> URL: https://issues.apache.org/jira/browse/TIKA-1446
> Project: Tika
> Issue Type: Bug
> Affects Versions: 1.7
> Reporter: Bin Hawking
> Priority: Critical
> Attachments: chm.zip
>
>
> If an embedded file contains aligned blocks, the parser outputs chaotic text
> or empty text as to this file.
> I have fixed it myself, corrected decompressAlignedBlock() and its
> preparation methods. Mostly this bug is due to misusing main tree/align
> tree/length tree. And some tree is built wrong.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)