Summary
Neither reconstruction mode currently merges the merge-source side's commentsIds.xml entries into the comparison result. Merged-in comments therefore lose durable comment IDs; Word can regenerate them, so this is cosmetic, but the output drops existing durable-ID metadata from the source document.
Found during peer review follow-up for #448 / #465.
Expected behavior
When comments are merged from the source side into the result, their matching commentsIds.xml rows should be carried forward or regenerated consistently so merged comments retain durable IDs.
Reproduction
- Create a DOCX with comments and a
word/commentsIds.xml part containing w16cid:commentId rows for those comment paragraph paraIds.
- Use it as the merge-source side in a comparison path that reconstructs comments into the result.
- Inspect the resulting DOCX package.
- Observe that
commentsIds.xml entries from the merge-source side are absent, so the merged comments no longer have durable IDs until Word regenerates them.
Affected package: packages/docx-core
ECMA-376 / OOXML impact
This concerns the Microsoft Word commentsIds.xml extension part ([MS-DOCX]) rather than ECMA-376 conformance-covered behavior. The impact is loss of Word durable-ID metadata for merged comments.
Logs or artifacts
Ref: #448
Ref: #465
Summary
Neither reconstruction mode currently merges the merge-source side's
commentsIds.xmlentries into the comparison result. Merged-in comments therefore lose durable comment IDs; Word can regenerate them, so this is cosmetic, but the output drops existing durable-ID metadata from the source document.Found during peer review follow-up for #448 / #465.
Expected behavior
When comments are merged from the source side into the result, their matching
commentsIds.xmlrows should be carried forward or regenerated consistently so merged comments retain durable IDs.Reproduction
word/commentsIds.xmlpart containingw16cid:commentIdrows for those comment paragraph paraIds.commentsIds.xmlentries from the merge-source side are absent, so the merged comments no longer have durable IDs until Word regenerates them.Affected package: packages/docx-core
ECMA-376 / OOXML impact
This concerns the Microsoft Word
commentsIds.xmlextension part ([MS-DOCX]) rather than ECMA-376 conformance-covered behavior. The impact is loss of Word durable-ID metadata for merged comments.Logs or artifacts
Ref: #448
Ref: #465