- From: <JAMESICUS@aol.com>
- Date: Wed, 19 Dec 2001 18:48:11 EST
- To: html-tidy@w3.org
- CC: carole@fates.org
In a message dated 12/19/01 8:31:04 AM US Mountain Standard Time, carole@fates.org writes: > Running 'tidy -asxml' puts in a DOCTYPE declaration that seems to confuse > Netscape 6. Now, this seems like a perfectly valid w3c-compliant > declaration, so it may be Netscape's fault. I personally always copy and paste the DOCTYPE declaration constructs from one of my templates whenever I create a new page and thus had never observed the ones affixed by Tidy. I just ran an old (HTML version 4.0) document through HTML-Kit/Tidy -- using the convert to XHTML facility -- which produced the following constructs: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> This is deficient IAW the W3C XHTML 1.0 Specification (the XML declaration is missing and the html root element does not include the language attributions) which prescribes (for example): <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> James Pickering Tucson, Arizona Tools for Web Page Creators: http://www.brazilcacticult.org/th.htm Brazilian Cacti in Cultivation: http://www.brazilcacticult.org/ Practical Italic Writing: http://www.brazilcacticult.org/corsiva.htm Accessible to People with Disabilities Validated W3C XHTML 1.0 ~ W3C CSS 2 W3C WAI-AAA WCAG 1.0 ~ Bobby Priority 3 DCMI (Dublin Core Metadata Initiative ~ Element set 1.1) W3C RDF (Resource Description Framework) ~ DCM Schema
Received on Wednesday, 19 December 2001 18:50:03 UTC