Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment results in corrupt document. #65

Open
deiferni opened this issue Mar 25, 2021 · 1 comment
Open

Comment results in corrupt document. #65

deiferni opened this issue Mar 25, 2021 · 1 comment
Labels

Comments

@deiferni
Copy link
Contributor

Create a composed file based on

master: header.docx
appended doc: comment.docx

this will result in a document which is considered corrupt by word. the document can be recovered by word, but the comment item is then partially missing from the result, the author is no longer visible: recovered.docx

@toloco
Copy link

toloco commented Jul 22, 2024

I encounter the same issue...

The issue comes from the comment.id being not unique.

You need to give new ids to the following tags:

  • commentReference
  • commentRangeStart
  • commentRangeEnd

And also to update the comment id in the comment itself, at document/comments.xml

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

No branches or pull requests

2 participants