W3C home > Mailing lists > Public > www-validator@w3.org > September 2006

Re: [VE][108] Error Message: XHTML Role Attribute

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Tue, 19 Sep 2006 12:20:44 +0900
Message-ID: <i51zmcw5ypf.wl@w3.mag.keio.ac.jp>
To: Martin Kliehm <martin.kliehm@bluemars.net>
Cc: www-validator@w3.org

Martin Kliehm wrote:

> Validating http://www.hateparade.org/2006/en/
> Error [108]: "there is no attribute 'role'"
> 
> This website uses an implementation of the XHTML 1.1 Role Attribute 
> Module 1.0, alas the validator does not read the DTD properly

I suppose the validator did read the DTD.

> and thus marks
> 
>    <ul role="navigation">
> 
> as an error. Which is strange,

Which is not strange, as the comment in the DTD module says, the XHTML
Role Attribute Module does nothing.  You need to define the role attribute
where you need it by yourself.

> See also
> 
>    http://www.hateparade.org/dtd/xhtml-target-role.dtd

An XML DTD MUST NOT be served as text/xml, it SHOULD use application/xml-dtd.

-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Tuesday, 19 September 2006 03:21:07 GMT

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