MIF Filter: corrupted document produced when empty consequential paragraph lines appear

Issue #1187 resolved
Denis Konovalyenko created an issue

Original:

 <Para
  <Unique 998415>
  <PgfTag `Body'>
  <PgfNumString `(5)\t'>
  <ParaLine
  > # end of ParaLine
  <ParaLine
  > # end of ParaLine
 > # end of Para

Merged:

 <Para
  <Unique 998415>
  <PgfTag `Body'>
  <PgfNumString `(5)\t'>
  <ParaLine
   # end of ParaLine
  <ParaLine
  > # end of ParaLine
 > # end of Para

FrameMaker (FF) console message on open:

MIF: "C:\Home\Denis\Projects\OpenSource\okapiframework\Issues\000\MIF\001.out.mif" (10290): Inv
alid opcode: ParaLine.
--- Skipping these characters:> ---------- Done skipping.

In some cases, this is not handled correctly and FF crashes.

A sample document is attached.

Comments (2)

  1. Log in to comment