Skip to content

Failure to detect XLSX #153

Description

@neilotoole

See issue over here: neilotoole/sq#506

The root cause of the detection issue is the h2non/filetype library's msooxml() detection function, which assumes a specific ZIP entry ordering that varies between XLSX creators.

The h2non/filetype library's OOXML detection (msooxml() function) uses
fragile heuristics that assume specific ZIP entry ordering. XLSX files from
different tools (excelize, Excel, Google Sheets) have varying internal
structures, and the 4KB magic-number approach doesn't reliably detect all
variants.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions