Skip to main content
Inspiring
April 23, 2020
Question

error in conversion table while converting FM file to structured form

  • April 23, 2020
  • 1 reply
  • 428 views

Hello.

I meet a problem while making a structured FM file. I use the conversion table with such rules:

E: ((Para | Figure | MediaObject | Table)*, Section1*)        Body
E:Heading, (Para | Figure | Table)*                                      Section1

While conversion (Structure current document) I receive such a log file:

 

Structure Document Report
Messages…
Expected "|", "&", or "," connector not found:
"[E: ((Para | Figure | MediaObject | Table)*, Section1*)] [Body] []".

 

What does it mean? Where does it expect to meet these connectors?

How can I generate "Body" element which may begin with part without "Heading" and not wrapped by "Section1"?

Thank you for any advice

    This topic has been closed for replies.

    1 reply

    Inspiring
    April 23, 2020

    Jul,

       First, to clarify the description of the erroneous row in your conversion table, the square brackets in the line

          [E: ((Para | Figure | MediaObject | Table)*, Section1*)] [Body] []

    delimit cells across the row. Thus, the problem is with the row that has E: ((Para | Figure | MediaObject | Table)*, Section1*) in the first column, Body in the second column, and nothing in the third row.

     

       Second, the purpose of the  E: prefix is to identify a single name as an element tag and not a paragraph tag, character tag, or table tag. E: is always optional. It cannot be used to identify an expression. Remove it in the erroneous line and you should be OK. 

     

       --Lynne