Highlighted

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

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

TOPICS
Structured

Views

125

Likes

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

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

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

TOPICS
Structured

Views

126

Likes

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
Aug 14, 2018 0
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 14, 2018 0