W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

Tidy and Server Side processing - A quick point.

From: Richard Allsebrook <richard.allsebrook@easysoft.com>
Date: Fri, 19 May 2000 11:36:47 +0100
To: <html-tidy@w3.org>
Message-ID: <NDBBJPABPJDBDMNPJGCCKEFNCBAA.richard.allsebrook@easysoft.com>
A quick thought about Tidy and server side processing:

Server side processing _produces_ HTML.

Just because your source pages look like HTML, doesn't mean it should
validate - It's not HTML! Tidy correctly *balks* at non-HTML tags (the sever
side processing tags) - that's its job!

I realised long ago (using Tidy on my PHP pages) that it makes more sense to
validate the files which your server side processing produces.  Even though
my PHP source pages validated, the output (due to my dodgy code) didn't.

IMHO, I'm starting to think that it is becoming an increasing burden on the
continuing development of Tidy.  Dave (and the others activily involved in
the development of Tidy) have to continually re-write good code to bend the
rules to allow server tags to validate which will never apear in the
finished document.

I've probably not explained this as well as I could, but hopefully you'll
get my point.

Keep up the excellent work Dave.



----------------------------------------------------------------------------
----

~ Richard Allsebrook ~
Applications Developer and Webmaster
Easysoft Limited, No3 The Embankment, Leeds, LS1 4BJ
http://www.easysoft.com
The Home of Data Access Middleware
"A computer lets you make more mistakes faster than any invention in human
history-with the possible exceptions of handguns and tequila."


----------------------------------------------------------------------------
----
Received on Friday, 19 May 2000 06:31:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT