Skip to content

Conversation

michaelromagne
Copy link

@michaelromagne michaelromagne commented Jun 22, 2025

This PR aims at fixing a recurring issue when loading docx files that have elements pointing to an internal bookmark or a target that is NULL.

Fixed issues with this PR:

Docling issue as well (and other projects using docx)

Still, there is also an issue with customXML missing elements here : KeyError: "There is no item named 'customXML/item5.xml' in the archive" that is not taken care of, I'll don't know if adding another edge case is a good idea, or if you have a better approach in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant