Fixing HTML and CHCKPII errors

Several errors and issues were found when the files were packaged for translation. All decimal/hex symbol strings were replaced when we migrated from the Wiki environment, for example:

"
Somehow, new ones managed to seep into the files. So if you find any, replace them. As you work with the CHCKPII errors, use this page to see a list of how these should resolve, and solutions for other CHKPII errors you might encounter.

Wrong code page

This error looks like a bogus error. The following error is displayed by the CHCKPII tool:

974   File is in the wrong code page.  XML encoding=UTF-8,

It refers to the top line of the file:

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

Remove any spaces after the first line and I'll tell Translation to ignore it. Comparing two files, one that the tool complains about and one that it doesn't, shows no difference that I can see.

Variant characters found

Your CHCKPII log shows information similar to the following example:

                                  122   Variant characters found: &#8224; (x86) .  Line: 69                                   
                                  122   Variant characters found: &#8225; (x87) .  Line: 70        

Use the entity name for these symbols as shown on the following Web page: http://www.w3schools.com/tags/ref_symbols.asp

The following example shows coding with a variant character CHCKPII error:

<li>MySQL&reg; 5 <a class="footnote-reference" href="#id6" id="id2">[&#8224;]</a></li>
<li>Oracle&reg; 10g <a class="footnote-reference" href="#id7" id="id3">[&#8225;]</a></li>

Replace the symbol as shown in the following example:

<li>MySQL&reg; 5 <a class="footnote-reference" href="#id6" id="id2">[&dagger;]</a></li>
<li>Oracle&reg; 10g <a class="footnote-reference" href="#id7" id="id3">[&Dagger;]</a></li>

Numeric symbol string cheat sheet

As you work with the files, change any occurrences you find of the following hex strings:

Symbol character
&#34;
" (quote)
&#37;
% (percent)
&#38;
&lt;
or < (less than)
&#39; 
' (single quote)
&#42; 
* (asterisk)
&#46; 
. (peroid)
&#58; 
: (colon)
&#60; 
< (less than -- USE
&lt;
)
&#61; 
= (equal)
&#62; 
> (greater than -- USE
 &gt;
)
&#64; 
@ (at sign)
&#91; 
[ (open square bracket)
&#95; 
_ (under score)
&#124; 
 | 
(vertical bar)
&#8220; 
" (open quote)
&#8221; 
" (open quote)
&#8211; 
- (dash -- use –)
|
&#x2714; 
| Check mark -- there is no replacement for this. Either use an X if it is denoting that something is selected or available or otherwise specify with text, such as yes. The closest symbol available for this is the square root symbol √
    &radic;
|

Add any new text strings you encounter, and what they should resolve to, into this list for anyone else who might encounter them.

r8 - 27 Oct 2008 - 21:02:20 - paynel
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site