W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

Possible bug in TidyCom.

From: Matthew Stanfield <matthew@propertyknowledge.com>
Date: Tue, 05 Feb 2002 19:29:13 +0000
Message-ID: <3C603289.465FBD52@propertyknowledge.com>
To: html-tidy@w3.org
Hi Guys,

I emailed the following to the author of the TidyCom, found at:

But thought someone here may know about this.




Hi André,

I'm not sure but I may have found a possible bug in TidyCom.

I'm accessing the dll from a C# program and everything seems to be
working fine except Options.Doctype. It doesn't seem to make any
difference if I load a tidy config file with the line "doctype: omit" in
it or set that option manually in the program, the original line -in
this case the one below- is always left in.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

I need to get rid of this line to make the tidied output xml compliant

I've also tried setting the doctype option to a custom string, but this
doesn't work either although the Options.Doctype property correctly
displays the custom string if I write it to the screen before calling:
"TidyToFile(inFilename, outFilename);".

Please let me know if there is a work around this, especially if there's
a way to stop tidycom from putting <!DOCTYPE>'s in the output even if in
the input.

Thank you for making TidyCom open source and available free; it is

Many thanks and regards,

Received on Tuesday, 5 February 2002 14:32:41 UTC

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