Remove Document Specific Declarations

Explorer ,
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

144

Likes

Translate

Translate

Report

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

1 Correct Answer

Mentor , Aug 14, 2018
Russ Ward Mentor , Aug 14, 2018
Hi,I found this on page 317 of the FM12 Structure Developers Guide. Hope it helps.Generating processing instructions on exportBy 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 itsDTD subset, FrameMaker imports the complete file whether it is valid or not.Russ

Likes

Translate

Translate
Jump to answer Jump to answer
Mentor ,
Aug 14, 2018

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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