docx4j
docx4j copied to clipboard
Fix for Issue #183: MailMerge and totally unrelated nested fields
These changes for MailMerge ignore and preserve nested fields that may or may not contain MERGEFIELDs.
Nested fields in an imported docx can cause a stack overflow in FieldRef.java:304 (which logs the detection of nested fields...).
Will the conflicts be resolved and this PR merged anytime soon? I just ran across this very issue with docx4j 8.3.4, and this PR looks like it will solve it.
The stack overflow problem (because of recursive logging statement) is still present in 11.4.8