OpenXML filter can produce duplicate TextUnit IDs in some cases

Issue #524 resolved
Chase Tingley created an issue

This bug applies to M28 and may not affect previous versions.

Attached testcase from Andriy Lutskiv. Certain TU IDs (eg "N9C6DE2C0-sub1") are produced more than once.

The structure that produces this is when multiple runs within a single block/paragraph each contain additional nested blocks. BlockTextUnitMapper#processNestedBlocks() creates a new IdGenerator with each call, which resets the "-sub1" suffix.

Comments (2)

  1. Log in to comment