Error on -- in a comment

Hello
 
In a xhtml beginning :
<!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">
If I have this :
<!--[if lte IE 6]>
<div id="A1949 class="boite boite_F " style="width:34.5mm; height:46.5mm; left:158.25mm; top:324.25mm;" title="NGUYEN--RABOT ; ° 2001">
<![endif]-->
Validator says :
1. Line 1638, Column 124: invalid comment declaration: found name start character outside comment but inside comment declaration.
…25mm; top:324.25mm;" title="NGUYEN--RABOT Elodie Phuong-Lan Angélique &#13;
2. Line 1637, Column 0: comment declaration started here.
<!--[if lte IE 6]>
3. Line 1639, Column 5: "endif" is not a reserved name.
<![endif]-->
If I write this :
<!--[if lte IE 6]>
<div id="A1949 class="boite boite_F " style="width:34.5mm; height:46.5mm; left:158.25mm; top:324.25mm;" title="NGUYEN-/-RABOT ; ° 2001">
<![endif]-->
Validator is OK
Regards
Vincent Rabot

Received on Thursday, 3 April 2008 12:57:36 UTC