8 Replies Latest reply on Jul 20, 2010 7:27 AM by Brad55

    Warning message question

    Margaret Becker Level 1

      RH8 question. When I compile, I get this warning message:


      HHC3004: Warning:

      DevSrf.htm :

      The HTML tag "?rh-script_end ?" is not a valid HTML tag (it does not begin with an alphanumeric character)


      This tag is created by RH. Should I just ignore it? Why does RH put something in that generates a warning?

        • 1. Re: Warning message question
          Peter Grainge Adobe Community Professional (Moderator)

          What are you generating?

           

          Look at the tag in HTML view and look at a similar tag, any differences?

           


          See www.grainge.org for RoboHelp and Authoring tips

           

          @petergrainge

          • 2. Re: Warning message question
            Margaret Becker Level 1

            I am generating HTML Help. I don't actually understand your suggestion. If I remove these tags, RH puts them right back. Here is the html code for a short topic with the offending tag applied:

             

            <?xml version="1.0" encoding="utf-8" ?>

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

            <html xmlns="http://www.w3.org/1999/xhtml">

            <head>

            <meta name="template" content="TopicMasterPage.htt" />

            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

            <meta name="copyright" value="© Robert McNeel &amp;&amp; Associates %date"

            content="" />

            <meta name="topic-status" content="In Progress" />

            <meta name="topic-priority" content="0" />

            <meta name="topic-time-estimate" content="0" />

            <meta name="topic-comment" content="" />

            <meta name="topic-id" content="idh_documentproperties_grid.htm" />

            <meta name="build tags" content="Printed_QR" />

            <meta name="topic-check-list" content="First Draft" />

            <meta http-equiv="Content-Language" content="en-US" />

            <meta name="generator" content="Adobe RoboHelp 8" />

            <title>Alerter</title>

            <object id="hhctrl" classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"

            width="0" height="0" vspace="0" hspace="0" border="0" type="application/x-oleobject"></object>

            </head>

             

            <body>

            <?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"

            language="JavaScript1.2"></script><?rh-script_end ?>

            <script type="text/javascript" language="JavaScript1.2" src="..\RmaMedia.js"></script>

            <p class="CommandTop"><?rh-variable_start name="title" format="default"

            showcode="showcode" value="Alerter" ?>Alerter<?rh-variable_end ?></p>

            <table style="vertical-align: Center;" cellspacing="0">

            <col />

            <col />

            <col />

            <tr style="vertical-align: top; height: 4px;">

            <td style="border-right: Solid 1px #000000; padding-right: 5px;

            padding: left 5pt 'border-right-color:' #000000; vertical-align: center;"><p

            class="MenuToolbar" id="p1"><a class="popupspot" href="JavaScript:hhctrl.TextPopup('Not on menus.','Verdana,9',10,10,00000000,0xd8e9ec)"

            id="a5" style="position: relative;">Menu</a></p></td>

            <td style="border-right: Solid 1px #000000; padding-right: 5px;

            padding-left: 5px; vertical-align: center;"><p class="MenuToolbar"

            id="p2"><a

            href="javascript:BSSCPopup('../Popup_ToolbarButtons/Alerter_TB.htm');"

            id="a2" style="position: relative;">Toolbar&#160;button</a></p></td>

            <td style="padding-right: 5px; padding-left: 5px; vertical-align: center;"><p

            class="MenuToolbar" id="p3"><a href="javascript:BSSCPopup('../SeeAlso/SAK_Options.htm');"

            id="a4" style="position: relative;">Related&#160;topics</a></p></td>

            </tr>

            </table>

            <p>Opens the <a href="../Options/Alerter.htm" id="A1" style="position: relative;">Options

            dialog box</a> at the <span style="font-weight: bold;">Alerter</span>

            page.</p>

            <?rh-placeholder type="footer" ?>

            <?rh-script_start ?><script type="text/javascript" language="JavaScript1.2">//<![CDATA[

            if( typeof( FilePopupInit ) != 'function' ) FilePopupInit = new Function();

            FilePopupInit('a2');

            FilePopupInit('a4');

            //]]></script><?rh-script_end ?>

            </body>

            </html>

            • 3. Re: Warning message question
              Peter Grainge Adobe Community Professional (Moderator)

              I wasn't suggesting removing them. The reason for asking what the help output was is that I think the answer might simply be that the Microsoft Help compiler doesn't recognise that tag and is whingeing, probably without cause. It was either that or the tag had got corrupted but with what you have now added, I doubt that is it.

               

              Is your CHM working as you would expect?

               


              See www.grainge.org for RoboHelp and Authoring tips

               

              @petergrainge

              • 4. Re: Warning message question
                Margaret Becker Level 1

                I assume I can just ignore the warning. Am I right?

                • 5. Re: Warning message question
                  Peter Grainge Adobe Community Professional (Moderator)

                  As I said, I think you can ignore it. If your help file is working OK, then my theory is sort of confirmed. If everything works, I would ignore it.

                   


                  See www.grainge.org for RoboHelp and Authoring tips

                   

                  @petergrainge

                  • 6. Re: Warning message question
                    Margaret Becker Level 1

                    Not this topic....

                    • 7. Re: Warning message question
                      eeddings Level 1

                      I had this error on the <?rh-cbt_end ?> tag.  What I discovered what while I was doing a Find and Replace I doubled up the <?rh-cbt_end ?> tag in a few topics.  So, I did a Find on <?rh-cbt_end ?><?rh-cbt_end ?> and replaced it with <?rh-cbt_end ?> and that fixed the problem and got rid of the error.

                       

                      I know it isn't the same tag to which you're referring, but HTH.

                      • 8. Re: Warning message question
                        Brad55 Level 1

                        This may be the problem it is pointing to the ehlpdhtm.js script that as far as all our project go this script has been in the root folder of the project, try taking the ../ out and make sure the script is in the root folder of the project.

                         

                        "<?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"

                        language="JavaScript1.2"></script><?rh-script_end ?>"