From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.0.137 with SMTP id 9mr1869196yhb.45.1421703477205; Mon, 19 Jan 2015 13:37:57 -0800 (PST) X-Received: by 10.140.27.197 with SMTP id 63mr71676qgx.6.1421703477186; Mon, 19 Jan 2015 13:37:57 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!v8no2168618qal.1!news-out.google.com!a6ni1qam.1!nntp.google.com!v8no2168617qal.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 19 Jan 2015 13:37:57 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:120b:2c20:9060:dd4:b5c4:a643:940d; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:120b:2c20:9060:dd4:b5c4:a643:940d References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: [Slightly OT] How to process lightweight text markup languages? From: gautier_niouzes@hotmail.com Injection-Date: Mon, 19 Jan 2015 21:37:57 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:24612 Date: 2015-01-19T13:37:57-08:00 List-Id: Le lundi 19 janvier 2015 21:12:41 UTC+1, Randy Brukardt a =E9crit=A0: > No, this is a fallicy. The Internet (and world in general) would be bette= r=20 > off if documents that are sufficiently malformed were simply not displaye= d=20 > at all. In that case, the document source would be fixed if anyone cares= =20 > enough. Alas the forces of competition resulted in the opposite: if a browser doesn= 't display a malformed HTML, users blame the browser and try another one. B= y developing Wasabee I was amazed by the proportion of sites with malformed= HTML code. I guess it was always close to 100% but over time it is even cl= oser. Chances are that only the W3 site is okay... > As it is, the attempts at autocorrection leave huge holes in the safety o= f=20 > the Internet (thus the world at large, as the Internet has become so=20 > intergral). Malware filters cannot by their nature guess all of the ways= =20 > that some idiot tool will deal with malformed input, meaning that there a= re=20 > always holes in the defenses to exploit. Only the input is idiot. The tool has to be smart. See for instance the alg= orithm in Wasabee that corrects an ill-formed HTML tree. Same in real life:= sometimes smart guys have to find solutions for idiots (customers, bosses,= ...) > And for what? So that people who can't be bothered to get their documents= =20 > formatted correctly still get some results (thus reenforcing their bad=20 > behavior). Bah humbug!! >=20 > Randy. You'd like to start a new, parallel Web with only well formatted documents = ? _________________________=20 Gautier's Ada programming=20 http://sf.net/users/gdemont