W3C home > Mailing lists > Public > www-validator@w3.org > February 2002

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

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Fri, 08 Feb 2002 01:44:26 +0900 (JST)
Message-Id: <20020208.014426.21917133.mimasa@w3.org>
To: pastelsbadges@nyc.odn.ne.jp
Cc: www-validator@w3.org
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 GMT

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