Skip to main content
AdvancedHelp
Known Participant
July 25, 2011
Question

Problem with compilation crashing

Hi,

I'm having an issue with RH9 when I try to compile a CHM.

Fo a start, it's getting very agitated about the variable code for some reason, but just for the master topic:

Normal2.htt :
The HTML tag "?rh-variable_start name="title" format="default" v..." is not a valid HTML tag (it does not begin with an alphanumeric character).

But it also hates a lot of my images:

Button_Print_Preview.gif :
The HTML tag "ïMž\ã|ÅR£dPœ$s …U„ ]¸y\¸Ù³w®›,[‘”<‹ ÈÈ”CÆ ¢J„f‹œ Þ..." is not a valid HTML tag (it does not begin with an alphanumeric character).

I've checked the image, there is no HTML even close to it like the compiler is describing.

When it gets part way through the images it crashes.

The images were made with PSP 4 and 8 (I'm having trouble getting funding for newer versions) and have transparent sections.

If I rename and replace the image names that sometimes work in clearing the issue, and sometimes not. I've tried remaking them...no dice.

There is nothing in the HTML to suggest what could be tripping up the compiler, is this an IE9 issue?

To further complicate things, this is a file that was once RH9, then had to be downgraded to 8, then upgraded to 9.

It's also a template for WebHelp that I've stripped back down to complied help. I'm pretty sure that any of those things could have screwed it up, but I just can't see what has screwed up!

For example:

HHC3002: Warning:
Button_Print_Preview.gif :
The HTML tag "c" is missing a closing angle bracket.

The code is:

<p class="Tip"><span class="Tip">Tip</span>: You can use <img src="../../Images/Button_Print_Preview.gif" alt="Button_Print_Preview.gif" style="border: none;" border="0" /> <span style="font-weight: bold;"><b>Print Preview</b></span> to view the data you are about to print out.</p>

I've 'deleted' the XPJ, no effect. Any ideas?

I'm on Windows 7, with IE9

Nicola

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Willam van Weelden
Inspiring
July 25, 2011

Hi and welcome to the community,

1. The tag starting and ending with question marks are XML processing instructions. Nothing wrong with that, see http://www.w3.org/TR/xml/#sec-pi.

2. The HTML tag for the print image is just a lof of gibberish. Is that exactly what you're seeing?

A few thoughts:

  - Are your project AND your output directory both on your local drive?

  - Do you use long filenames/folder names? Long file paths may give trouble.

  - You have deleted the XPJ. Have you also tried deleting the CPJ? Make a full backup, remove the CPJ and open the project again.

  - Can you run the W3C compliance tool to see what problems might be in your code? (File > W3C Compliance > Validate all)

  - You say this is a 'file' that was RH9, went back to RH8 and is now back to RH9. Do you mean a single file or the entire project? What did you do to 'downgrade' the file/project?

I doubt this is an IE9 issue. I've tested Robo 9 with IE9 and I didn't have any problems. If you get errors that certain tags are incomplete, there might be something wrong with the code in your topics.

Greet,

Willam

Translate
Peter Grainge
Community Expert
Community Expert
July 25, 2011

Willam means CPD, not CPJ.

To repair damage done by deleting the XPJ, see Opening Projects on my site.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Translate
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Willam van Weelden
Inspiring
July 25, 2011

Oops. Thanks for the vigilance Peter.

Translate