[
https://issues.apache.org/jira/browse/TIKA-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184256#comment-14184256
]
Bin Hawking edited comment on TIKA-1446 at 10/25/14 8:27 PM:
-------------------------------------------------------------
Hong-Thai Nguyen and all,
I have
1. added a test case to validate HTMLs (hhk and hhc also) extracted from
testChm*;
2. removed a try..catch {} which hides some defects;
3. throw exceptions when something overflows or does not work, instead of
quitting the method silently.
Then I found more bugs and fixed them, all unit tests passed.
I will push my revision to github later. Once done I will drop a message here.
was (Author: binhawking):
Hong-Thai Nguyen and all,
I have
1. added a test case to validate HTMLs (hhk and hhc also) extracted from
testChm*;
2. removed a try..catch {} which hides some defects;
3. throw an exception when something overflow or does not work, instead of
quitting the method silently.
Then I found more bugs and fixed them, all unit tests passed.
I will push my revision to github later. Once done I will drop a message here.
> 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)