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

Validator not working for upload of XHTML

From: Capt. N <captn@animatedclassics.com>
Date: Thu, 20 Jul 2000 23:31:22 -0400 (EDT)
To: <www-validator@w3.org>
Message-ID: <NDBBJDHHMMIFEEMMIDKIKEHCCAAA.captn@animatedclassics.com>

The HTML validator is giving me an error when I try to validate an XHTML
document.  The first two lines of the code are as follows:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

My page is being encoded using iso-8859-1, so I included the appropriate XML
declaration.  When I run it through the validator, I get this message:

"Uh oh! I got the following unknown error:
27:E: omitted tag minimization parameter can be omitted only if "OMITTAG NO"
is specified on the SGML declaration Please make sure you specified the
DOCTYPE properly!"

Now, when I remove the XML declaration, it will parse and validate the
document.  This is, of course, not truely valid, since I'm supposed to have
the XML declaration for the proper encoding.  Is there a fix/workaround?

Nicholas A. Truman

                           1stUp.com - Free the Web
   Get your free Internet access at http://www.1stUp.com
Received on Friday, 21 July 2000 18:48:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:27 UTC