microsoft / microsoft/markitdown
MarkItDown 解析旧版 .doc 存在原生崩溃 Bug
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 186k
- Forks
- 13.7k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 49
Description
Microsoft markitdown (v0.0.2) 目前对旧版二进制 OLE2 复合文档的格式识别不够精准。当遇到 .doc 文件时,它错误地将其判定为 Excel .xls 文件并强行调用 pandas + xlrd 去读取工作簿,导致 100% 触发 XLRDError 异常抛错!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with an old binary .doc file using MarkItDown v0.0.2, then trace the format-detection path that routes it to pandas and xlrd. Confirm the fix by ensuring .doc input is no longer treated as an Excel workbook and does not raise XLRDError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100