Title: Does the python-docx library not support docx documents of strict open xml created by Microsoft office? · Issue #1520 · python-openxml/python-docx · GitHub
Open Graph Title: Does the python-docx library not support docx documents of strict open xml created by Microsoft office? · Issue #1520 · python-openxml/python-docx
X Title: Does the python-docx library not support docx documents of strict open xml created by Microsoft office? · Issue #1520 · python-openxml/python-docx
Description: The situation is like this. According to the introduction of the python-docx library, it can operate Microsoft Word 2007+ (.docx) files. I use python-docx to parse a docx format document created by Microsoft office with strict open xml. ...
Open Graph Description: The situation is like this. According to the introduction of the python-docx library, it can operate Microsoft Word 2007+ (.docx) files. I use python-docx to parse a docx format document created by...
X Description: The situation is like this. According to the introduction of the python-docx library, it can operate Microsoft Word 2007+ (.docx) files. I use python-docx to parse a docx format document created by...
Opengraph URL: https://github.com/python-openxml/python-docx/issues/1520
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Does the python-docx library not support docx documents of strict open xml created by Microsoft office?","articleBody":"The situation is like this. According to the introduction of the python-docx library, it can operate Microsoft Word 2007+ (.docx) files. I use python-docx to parse a docx format document created by Microsoft office with strict open xml. Will the library directly throw an exception?\n\n\"no relationship of type 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument' in collection\"\n\nI'm using python-docx version 1.1.2 under python3.8. I found some similar issues in the issue list, but I have a problem. python-docx only supports operating on docx documents with open xml. But do docx documents that do not support strict open xml? If docx documents really do not support strict open xml, what is the reason? Although I observed that the xml namespaces of the two are different\n","author":{"url":"https://github.com/yunnan66","@type":"Person","name":"yunnan66"},"datePublished":"2025-09-16T07:47:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1520/python-docx/issues/1520"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:35e7d5e3-b158-0083-3b78-dfc47bfa4dab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA4C:36419E:267DAC5:323D0FF:696B60BC |
| html-safe-nonce | ccbc75db2407586d470bc65e11a8e29eb848a183d3d15834d57852f9b1eaa96a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTRDOjM2NDE5RToyNjdEQUM1OjMyM0QwRkY6Njk2QjYwQkMiLCJ2aXNpdG9yX2lkIjoiNDAxNTAzNTg1NDk5NDc1OTg2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c448a20b083ab0fa18729806cb4759ec26eea7254ae4c1a78a84532ee18ad5dc |
| hovercard-subject-tag | issue:3420921137 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-openxml/python-docx/1520/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b3ac7f5418ecbd216aaed63af71a0fe9b75dc492134ae7c7df2f1d0335285bf/python-openxml/python-docx/issues/1520 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b3ac7f5418ecbd216aaed63af71a0fe9b75dc492134ae7c7df2f1d0335285bf/python-openxml/python-docx/issues/1520 |
| og:image:alt | The situation is like this. According to the introduction of the python-docx library, it can operate Microsoft Word 2007+ (.docx) files. I use python-docx to parse a docx format document created by... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yunnan66 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python-openxml/python-docx git https://github.com/python-openxml/python-docx.git |
| octolytics-dimension-user_id | 3403760 |
| octolytics-dimension-user_login | python-openxml |
| octolytics-dimension-repository_id | 13592924 |
| octolytics-dimension-repository_nwo | python-openxml/python-docx |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13592924 |
| octolytics-dimension-repository_network_root_nwo | python-openxml/python-docx |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width