• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

error in conversion table while converting FM file to structured form

Explorer ,
Apr 23, 2020 Apr 23, 2020

Copy link to clipboard

Copied

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

Views

332

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Apr 23, 2020 Apr 23, 2020

Copy link to clipboard

Copied

LATEST

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

      

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines