W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Why is the DOCTYPE not omitted ?

From: ciaran byrne <ciaran.byrne@3tl.com>
Date: Mon, 14 Aug 2000 05:09:23 -0400 (EDT)
To: <html-tidy@w3.org>
Message-ID: <NEBBLJNNBKLFNDLBENOPKENLCEAA.ciaran.byrne@3tl.com>
Hi all,
	I'm using COM TIDY to load a HTML file which
is then treated as XML and as such goes through a 
XML parser - MSXML3.

My problem is that the DOCTYPE causes an error to occur
in the loadXML method in COM TIDY. The DOCTYPE contained
within the HTML is:

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">

is there anyway I can omit this DOCTYPE which will give me no error in the
loadXML method. I've tried the following:


but they don't seem to make a difference !!!

Any suggestions ?
Received on Thursday, 17 August 2000 00:52:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:48 UTC