W3C home > Mailing lists > Public > www-validator@w3.org > March 2010

Re: Custom attributes in HTML elements

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Wed, 10 Mar 2010 05:58:43 +0100
To: www-validator@w3.org
Cc: "Jukka K. Korpela" <jkorpela@cs.tut.fi>, Claudia Murialdo <cmurialdo@gmail.com>
Message-ID: <20100310055843667228.66069825@xn--mlform-iua.no>
Leif Halvard Silli, Wed, 10 Mar 2010 04:48:35 +0100:

> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 
> [ 
> <!ATTLIST html class CDATA #IMPLIED>
> <?parser-hack ><!--?>
> ]> 
> <!--><?!-->

Sorry, an error. There should be a space inside the PI, before the "?>":

<?parser-hack ><!-- ?>

Hence:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 
[ 
<!ATTLIST html class CDATA #IMPLIED>
<?parser-hack ><!-- ?>
]> 
<!--><?!-->
-- 
leif halvard silli
Received on Wednesday, 10 March 2010 04:59:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:40 GMT