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

Remove Document Specific Declarations

Explorer ,
Aug 14, 2018 Aug 14, 2018

Copy link to clipboard

Copied

Dear all,

I would like to know how and why the following lines appear from time to time in xml files:

<!-- Begin Document Specific Declarations -->

<?Fm Validation Off?>

<!-- End Document Specific Declarations -->

I couldn't reproduce the behavior. My colleagues and I all have FM15 and we use presumably the same configuration.

We are sharing the files:

  • only 1 workstation generates theses annoying (from a scripting POV) declarations. But only from time to time.
  • when files containing the declarations are processed on other workstations, the declarations are removed upon saving.

Where do I have to look to find the reason for the declarations generation? How do I suppress the declarations?

Regards

PS: a similar question: Suppress FM comments in Doctype declaration

TOPICS
Structured

Views

262

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

correct answers 1 Correct answer

Mentor , Aug 14, 2018 Aug 14, 2018

Hi,

I found this on page 317 of the FM12 Structure Developers Guide. Hope it helps.

Generating processing instructions on export

By default, FrameMaker creates processing instructions under the following circumstances:

• When the exported markup turns out to be invalid, the software generates a

<?FM Validation Off?> PI. When importing an XML or SGML instance with this PI in its

DTD subset, FrameMaker imports the complete file whether it is valid or not.

Russ

Votes

Translate

Translate
Mentor ,
Aug 14, 2018 Aug 14, 2018

Copy link to clipboard

Copied

LATEST

Hi,

I found this on page 317 of the FM12 Structure Developers Guide. Hope it helps.

Generating processing instructions on export

By default, FrameMaker creates processing instructions under the following circumstances:

• When the exported markup turns out to be invalid, the software generates a

<?FM Validation Off?> PI. When importing an XML or SGML instance with this PI in its

DTD subset, FrameMaker imports the complete file whether it is valid or not.

Russ

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