When the configuration
entry "majix.generate.deletedblocks" in the
file "majix.conf" is set to "1", then textblocks that are
marked for deletion by the wordprocessors'
changemanagement (eg MS Word 97 and upwards) will
be generated with a surrounding <deleted>-element.
Unfortunately, if a whole paragraph is marked for
deletion, the <deleted>-tags only surround the
textcontent of the paragraph, but not the paragraph
itself, because in majix the deleted-element is a part of
the textproperties.
The same is true for whole tables, that are marked for
deletion.
The effect in the interpreting/rendering XML-app would
likely be to present empty paragraphs / tables.
Workaround:
The bug is not present when deleted textblocks are not
generated (majix.generate.deletedblocks=0), because
then the RtfAnalyser skips the rtf-controlgroup that is
marked for deletion, which includes the surrounding
document-structures such as paragraphs and tables.
Proposal for a possible bugfix:
In RtfAnalyser, check the type of the surrounding
document-structure, and mark it as deleted, if and only
if all contained structures are also marked for deletion.
Logged In: YES
user_id=993028
2nd possible workaround:
In Microsoft Word or similar rtf-generating wordprocessors,
selectively accept the deletion of whole paragraphs and
tables and save the rtf to disk. The resulting rtf-file doesnt
contain those deleted parts, but contains all the other
deletions of textpassages. This textpassages will be correctly
surrounded with the <deleted>-tags.
Logged In: YES
user_id=993028
This bug is only relevant for those templates (.majixt-files)
containing an element-definition with the attribute id set
to "del" similar to the following example:
<tag category="charprop" type="tag" id="del"
tag="deleted" atag="deleted" description="deleted text"
attrs=""/>
The MyDoc-template by default doesnt contain this element,
but the new docscape-template does.