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

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 UTC