W3C home > Mailing lists > Public > www-validator@w3.org > July 2005

Doctype override/fallback problem

From: <Sofia.Celic@nils.org.au>
Date: Thu, 21 Jul 2005 10:45:47 +1000
To: www-validator@w3.org
Message-ID: <OF8B47965B.1601C493-ONCA257045.0003C828-CA257045.00043C3F@domino.bigpond.com>
Hi,

There seems to be a problem with using the Doctype override/fallback
feature of the File Upload section of the validator. It adds the following
line to the top of the code:

OCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



The "<D" is missing. The first error listed is therefore:



Line 2, column 0: character data is not allowed here


���<html>


You have used character data somewhere it is not permitted to appear.
Mistakes that can cause this error include putting text directly in the
body of the document without wrapping it in a container element (such as a
<p>aragraph</p>) or forgetting to quote an attribute value (where
characters such as "%" and "/" are common, but cannot appear without
surrounding quotes).



With regards,
Sofia

____________________________
Sofia Celic
Senior Web Accessibility Consultant
Accessible Information Solutions,
National Information and Library Service
454 Glenferrie Road
Kooyong, Victoria, 3144
Ph: +61 (0)3 9864 9284
Fax: +61 (0)3 9864 9370
E-mail: Sofia.Celic@nils.org.au

National Information and Library Service
is a subsidiary of RBS.RVIB.VAF Ltd.
Received on Thursday, 21 July 2005 02:36:01 GMT

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