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

Martin Kliehm wrote:

> Validating
> 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

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

Masayasu Ishikawa /
W3C - World Wide Web Consortium

Received on Tuesday, 19 September 2006 03:21:07 UTC