Greetings, 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 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: /usr/local/bin/nsgmls:http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd:236: 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 Webmaster http://www.animatedclassics.com ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.comReceived on Friday, 21 July 2000 18:48:38 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:54 GMT