Article View: news.software.readers
Article #75620Re: Multilevel colouring of quoted text...
From: Robert Amesz
Date: Fri, 06 Apr 2001 15:44
Date: Fri, 06 Apr 2001 15:44
55 lines
3513 bytes
3513 bytes
Kai Henningsen wrote: >rcameszREMOVETHIS@dds.removethistoo.nl (Robert Amesz) wrote on >05.04.01 in <Xns907AA1BB065C8rcamesz@127.0.0.1>: > >> Kai Henningsen wrote: > > >>> rcameszREMOVETHIS@dds.removethistoo.nl (Robert Amesz) wrote on >>> 03.04.01 in <Xns90782EED1BD11rcamesz@127.0.0.1>: >>> >>>> Generally speaking, HTML is pretty robust and forgiving when it >>>> comes to parsing. >>> >>> That has certainly not been my experience. Though anyone writing >>> HTML generating software certainly seems to think so - there's >>> an incredible amount of broken HTML out there. > > >> My point exactly: there's lot's of broken HTML, but the parsers >> and renderers rarely choke on it. > >I didn't know "rarely" was defined as "all the time". > >Because I *do* see parsers choke on bad HTML all the time. > >> Which leads me to the conclusion that >> using HTML for rendering will be pretty safe: although you might >> be suprised at what you see, HTML will not bomb your application. > >Oh, so you only consider it bad if the application actually dies. Well - decent error reporting would nice, but in this particular case not crashing is more important. It would seem that you're talking about HTML in general, but I suggested using an HTML-component for the flexible rendering of text on the screen through the use of templates. If the display does not meet your expectations, it's simple enough change those templates. This kind of trial-and-error work will inevitably lead to lots of (mostly small) mistakes. Those mistakes should not compromise the stability of the program as a whole. >Funny, *I* think not displaying what's intended is quite bad >enough. And with HTML, that seems to be the rule rather than the >exception. You can't blame an HTML parser/display engine for not displaying broken HTML 'as intended' because only correct HTML can be said to really convey those intentions properly. Garbeled syntax == garbeled semantics. For broken HTML, the software will have to make (hopefully educated) guesses. Robert Amesz
Technical Details
Message-ID:
<Xns907BB4733787rcamesz@127.0.0.1>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!news.demon.nl!demon!amesz.demon.nl!not-for-mailReferences:
<Xns907199D2355A2RarAvishotmailcom@127.0.0.1> <tcfav818gcuj0e@news.supernews.com> <Xns90782EED1BD11rcamesz@127.0.0.1> <7zFC2KmXw-B@khms.westfalen.de> <Xns907AA1BB065C8rcamesz@127.0.0.1> <7zHZ8jTmw-B@khms.westfalen.de>Show Full Headers
Complete Article Headers
Message-ID: <Xns907BB4733787rcamesz@127.0.0.1>
Subject: Re: Multilevel colouring of quoted text...
Date: Fri, 06 Apr 2001 15:44:04 GMT
From: rcameszREMOVETHIS@dds.removethistoo.nl (Robert Amesz)
References: <Xns907199D2355A2RarAvishotmailcom@127.0.0.1> <tcfav818gcuj0e@news.supernews.com> <Xns90782EED1BD11rcamesz@127.0.0.1> <7zFC2KmXw-B@khms.westfalen.de> <Xns907AA1BB065C8rcamesz@127.0.0.1> <7zHZ8jTmw-B@khms.westfalen.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!news.demon.nl!demon!amesz.demon.nl!not-for-mail
Newsgroups: news.software.readers
Reply-To: rcamesz@dds.nl
NNTP-Posting-Host: amesz.demon.nl
X-NNTP-Posting-Host: amesz.demon.nl:212.238.72.220
X-Trace: news.demon.nl 986571844 pluto:9323 NO-IDENT amesz.demon.nl:212.238.72.220
X-Complaints-To: abuse@nl.demon.net
X-Posting-Agent: Hamster/1.3.13.0
User-Agent: Xnews/4.04.05.predinner
X-Face: i/!"w>!GV8UL{^20`L2OEvvFz(T"{bFYn2<:u"5<4Blsl-isl(bTDMKVqWL?nk-VY7[[);j =yB|s]|c3nRG4c7^1#+/(D)v4ToNC;PoE=\7baN'i75%+2NhzndU~qJUTI*-v[R"l)Q$GOX3o(-#7C iY6a`%._v`G8cG`!/3,mt?pkyvjv3f}\-mZiNnXJ9EK~D>Qs(ckW8yam<<T!\Kf>`wtj3>eEAAV\
Lines: 54