-
Notifications
You must be signed in to change notification settings - Fork 586
Description
Describe the bug
The attached .docx document cannot be opened or processed using the OpenXml library. The application throws an exception when trying to load it.
Screenshots
N/A – the issue is reproducible programmatically.
To Reproduce
To reproduce the issue, simply run the provided minimal console application:
Repro app: https://drive.google.com/file/d/13xbeKu0psI1QzSlFBK-JDGt7iV-bnD-v/view?usp=drive_link
Problematic document: https://docs.google.com/document/d/1Pr0vArHMqU2-_lGStLN7aCHSU8cAUNse/edit?usp=sharing&ouid=106818609291674481129&rtpof=true&sd=true
Steps to reproduce the behavior:
Download and open the provided console application
Run the application
Observe the exception when trying to open the document
Observed behavior
The document cannot be loaded; an exception is thrown by OpenXml SDK when trying to open the .docx file.
Expected behavior
The document should be successfully opened and parsed by the OpenXml library without exceptions.
Additional context
The document originates from an external source and opens fine in Microsoft Word, but OpenXml SDK fails to open it. Please advise on what might be causing this issue or whether the document is not compliant with expected format standards.