Skip to content

fix(docx): handle non-OMML XML namespaces in process_children_list - #2250

Open
amir-rezaei wants to merge 1 commit into
microsoft:mainfrom
amir-rezaei:fix/omml-element-tag-namespace-stripping
Open

fix(docx): handle non-OMML XML namespaces in process_children_list#2250
amir-rezaei wants to merge 1 commit into
microsoft:mainfrom
amir-rezaei:fix/omml-element-tag-namespace-stripping

Conversation

@amir-rezaei

Copy link
Copy Markdown

Description

This PR resolves issue #2166 by stripping arbitrary XML namespaces in process_children_list() (packages/markitdown/src/markitdown/converter_utils/docx/math/omml.py).

Details

  • Prevents KeyError: 'w:type' when elements carry WordprocessingML or custom XML namespaces during OMML conversion.

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.

2 participants