Skip to main content
Participant
April 17, 2024
Question

How to control DOCTYPE declaration in RH2017?

  • April 17, 2024
  • 1 reply
  • 218 views

I'm having an issue where the DOCTYPE declaration in RoboHelp 2017 keeps reverting to this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

When I change it to either of these, RH reverts it back:
<!DOCTYPE html> or <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
I'm asking because ever time I make a change in a topic and save it, I'm getting this exception error message which is quite annoying:

I can only assume it's related to the DOCTYPE declaration.

Any help would be greatly appreciated.

 

    This topic has been closed for replies.

    1 reply

    Peter Grainge
    Community Expert
    Community Expert
    April 17, 2024

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> is what RoboHelp is designed to work with. I don't recall seeing this is a problem before but it's a very old version and out of support.

     

    As to the error, have you tried deleting the CPD file and then reopening RoboHelp? That used to fix many issues. Backup first if in doubt.

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    SGMRoehAuthor
    Participant
    April 17, 2024

    Peter - Thanks as always for your response.

    I was premature in this post as the issue was found in the css we were using.

    The style was supposed to be used for a certain output but unfortunately was getting inserted into all of our outputs.

    We're looking into how this occurred so it doesn't happen again - ugh.