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

Saving system variables as XML

Advisor ,
Jul 18, 2017 Jul 18, 2017

Copy link to clipboard

Copied

I have filed bug FRMAKER-3122 regarding saving structured documents that contain system variables as XML. FM's default behavior is to generate an entity reference to a new entity it declares. The entity's name is fm.xxx, where xxx is an abbreviation of the variable name and the entity's replacement text is the text displayed for the variable. For example, at some point yesterday morning, the Modification Date (Long) variable exported as &fm.lmdate; where fm.lmdate was declared as:

<!ENTITY fm.lmdate  "July 17, 2017 10:18 am">

Since the variable text contains spaces, it is possible for the variable to be displayed with a line break within the variable text, as in something such as:

This document describes My Company's such and such system. It is

updated quarterly. The last update was published on July 17, 2017

10:18 am.

FM seems to use only the portion of the variable text that appears on the second line in the entity declaration, so that if the entity declaration is created from the above paragraph, the entity declaration would incorrectly appear as:

     <!ENTITY fm.lmdate  "10:18 am">

I first encountered this problem in FM 12, but have confirmed the behavior in FM 2015 and FM 2017.

--Lynne

TOPICS
Structured

Views

209

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
no replies

Have something to add?

Join the conversation