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

W3C markup validator doesn't like FM 10 HTML DOCTYPE

Contributor ,
Sep 15, 2011 Sep 15, 2011

My current client is using InstallAnywhere for their software installer. It has the ability to display help (in HTML) for the individual install screens. So I put some FM pages together and used the Save As HTML option.

InstallAnywhere didn't like the HTML pages and refused to display them (even though they display fine in Chrome, Firefox and IE). So I put the files through the W3C markup Validator.

The Validator wouldn't recognise the FM DOCTYPE - <!DOCTYPE HTML FM_PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>

I had to change it to the 4.01 Transitional DOCTYPE - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" to make it happy. Even then, it didn't like the <BODY BGCOLOR="#ffffff"> tag

Question I have is, can I change the DOCTYPE setting somewhere to the Transitional one, so I don't have to keep amending these files every time I update.

Cheers

Mark

1.2K
Translate
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

Enthusiast , Sep 15, 2011 Sep 15, 2011

I have just posted a bug report for this.

Ian

Translate
Community Expert ,
Sep 15, 2011 Sep 15, 2011

FM's Save as HTML is reputed to be quite lame - most posts I've seen recommend using mif2go to create HTML out of FM. It would probably give you much more control over what comes out. Try their freebie trial - it's fully featured.

Translate
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
Enthusiast ,
Sep 15, 2011 Sep 15, 2011

The HTML doctype declaration in FM10 is broken. There's no way that 'FM_PUBLIC' could ever be legal. I know of no way to change that.

Ian

Translate
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
Contributor ,
Sep 15, 2011 Sep 15, 2011

Thanks for the replies,

Luckily there are only half a dozen pages, and they won't change too often, so replacing the DOCTYPE with the 4.01 transitional one after the Save As won't be too much of a headache.

Was just curious as to whether the FM one could be changed permanently.

Cheers

Mark

Translate
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
Community Expert ,
Sep 15, 2011 Sep 15, 2011

If everyone thinks it's a bug, then I suggest reporting it to https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Translate
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
Enthusiast ,
Sep 15, 2011 Sep 15, 2011

I have just posted a bug report for this.

Ian

Translate
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
Contributor ,
Sep 16, 2011 Sep 16, 2011
LATEST

Thanks Ian, beat me to it.

Mark

Translate
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