Re: About PE "Color.datatype" in XHTML 1.1 DTD

Satoshi ISHIKAWA <pastelsbadges@nyc.odn.ne.jp> wrote:

> W3C HTML Validation Service uses XHTML 1.1 flat DTD for validating
> XHTML 1.1 documents. This causes errors, for example:
> 
> <?xml version="1.0" ?>
> <!DOCTYPE html
>      PUBLIC "-//W3C//DTD XHTML 1.1//EN"
>             "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
> <!ENTITY % xhtml-legacy.module "INCLUDE" >
> <!ENTITY % xhtml-iframe.module "IGNORE" >
> ]>
> <html xmlns="http://www.w3.org/1999/xhtml">
>  <head>
>   <title>Valid XHTML</title>
>  </head>
>  <body text="#282828" bgcolor="#f0f8ff">
>   <p>Sample document.</p>
>  </body>
> </html>
> 
> This document is valid, but the validator says
> 'parameter entity "Color.datatype" not defined'.

Your document is valid but not strictly conforming XHTML 1.1 document [1].
You should not use the FPI "-//W3C//DTD XHTML 1.1//EN" for such
document.  If you change the FPI or just use the system identifier,
the validator will look up the URI specified by the system identifier
and would work.

[1] http://www.w3.org/TR/xhtml11/conformance.html#strict

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Thursday, 7 February 2002 11:44:34 UTC