From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id GAA05198; Sat, 24 Nov 2001 06:23:25 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id GAA05657 for ; Sat, 24 Nov 2001 06:23:24 +0100 (MET) Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id fAO5NMr09801 for ; Sat, 24 Nov 2001 06:23:23 +0100 (MET) Received: from ip178.usw22.rb1.bel.nwlink.com (ip178.usw22.rb1.bel.nwlink.com [207.202.195.178]) by smtp.nwlink.com (8.9.3/8.9.1) with SMTP id VAA05237 for ; Fri, 23 Nov 2001 21:22:42 -0800 (PST) Received: (qmail 15587 invoked by uid 500); 24 Nov 2001 05:21:58 -0000 Date: Fri, 23 Nov 2001 21:21:58 -0800 From: Mike Leary To: Patrick M Doane Cc: caml-list@inria.fr Subject: Re: [Caml-list] New polymorphic variant syntax Message-ID: <20011123212158.A15530@ip178.usw22.rb1.bel.nwlink.com> References: <20011121122117.A10520-100000@fledge.watson.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011121122117.A10520-100000@fledge.watson.org>; from patrick@watson.org on Wed, Nov 21, 2001 at 12:46:20PM -0500 Organization: is a poor substitute for less junk Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I have a (rambling) question/feature request. I've been using W3's HTML Tidy as a cleanup tool for the small bit of HTML I'm working on. I've also got a local copy of www.htmlhelp.com's validator cgi program, which seems to be on par with W3's validation service. What I'd really like is a local program that will flexibly: - validate to the dtd in the doctype declaration, or convert to a different one as nicely as possible, output a list of errors, optionally fix the errors and warnings (HTML Tidy does this pretty well, but isn't as rigorous at validating as W3 or htmlhelp, and not flexible enough in its options) -- optionally insert null attributes for those that are missing (like summary for tables, alt for img, etc.) - strip out all formatting that should be done with css, either leaving class attributes that can be used in a style sheet, or doing away with the formatting altogether - indent properly (Tidy is good, but not quite beautiful) - maybe validate css too - recursive option, with options for depth/domain - link checking I guess what I'd like is a more featureful and thorough version of Tidy. I would think that this could be quite a little killer-app in its niche, assuming it is done right -- amenable to gui wrappers, vim errorformat, et al. I would also think this might be a decent test vehicle for a lot of the Bedouin code. Unfortunately I'm too busy to do much about it myself... Q: Is anyone working on such a beast? in sum: Tidy + up-to-date/rigorous + link checking + css + bells and whistles + very flexible = killer-app? -- "You mean, I'm the bad guy?" --Bill Foster, aka D-FENS ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr