Title: Skip null and internal bookmarks links when loading document by michaelromagne · Pull Request #1498 · python-openxml/python-docx · GitHub
Open Graph Title: Skip null and internal bookmarks links when loading document by michaelromagne · Pull Request #1498 · python-openxml/python-docx
X Title: Skip null and internal bookmarks links when loading document by michaelromagne · Pull Request #1498 · python-openxml/python-docx
Description: 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: #902 #1105 #1351 Docling issue as well (and other projects using docx) docling-project/docling#1645 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.
Open Graph Description: 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: #902 #1105 #1351 Docling ...
X Description: 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: #902 #1105 #1351 Docling ...
Opengraph URL: https://github.com/python-openxml/python-docx/pull/1498
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:69220b91-a4f0-75ce-856a-04ad540c9487 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E722:2E6A51:83F99C1:AFF07E4:696E07AD |
| html-safe-nonce | 2f961fe50dbb510039f70d1aa32be8afc738c173d895afbf49af36a28115a990 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzIyOjJFNkE1MTo4M0Y5OUMxOkFGRjA3RTQ6Njk2RTA3QUQiLCJ2aXNpdG9yX2lkIjoiNTM4MjQwMzkyNTYzOTgyNTMyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 41d9d244d3bd9366908940b76b79259c11f0b8c7975156cb18a5472588de0da7 |
| hovercard-subject-tag | pull_request:2609575212 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python-openxml/python-docx/pull/1498/files |
| twitter:image | https://avatars.githubusercontent.com/u/44051774?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/44051774?s=400&v=4 |
| og:image:alt | 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: #902 #1105 #1351 Docling ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b5131b207ddd175abf059a848d5f4302ec0606b02211b989013be49cf08593e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8590a63bfc8093b241930ca57d536c9a50f9680 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width