Gentoo Archives: gentoo-dev

From: Daniel Mettler <mettlerd@×××××××××.ch>
To: gentoo-dev@g.o
Subject: Re: not valid {x}html (was Re: [gentoo-dev] www.gentoo.org and konqueror)
Date: Tue, 13 Aug 2002 11:50:50
Message-Id: 200208131543.17162.mettlerd@icu.unizh.ch
In Reply to: Re: not valid {x}html (was Re: [gentoo-dev] www.gentoo.org and konqueror) by Paul de Vrieze
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Tuesday 13 August 2002 09:34, Paul de Vrieze wrote:
5 > If you would take a look at the validation errors you would
6 > see that most of them are rather trivial
7
8 yep, i know
9
10 > (forgotten to add
11 > empty alt tags to some images that are only used for layout).
12 > The biggest error I found was the absence of the doctype
13 > declaration. The extra attributes on the body tag are for IE,
14 > and should not pose any problem for other browsers as they are
15 > required to ignore unknown attributes.
16
17 s/they are required/it is recommended/
18
19 nb. html 4.01 b.1:
20
21 "Since user agents may vary in how they handle error conditions,
22 authors and users must not rely on specific error recovery
23 behavior."
24
25 further
26
27 "For reasons of interoperability, authors must not "extend" HTML
28 through the available SGML mechanisms (e.g., extending the DTD,
29 adding a new set of entity definitions, etc.)."
30
31 - -> it's a wrong bad habit to include browser specific attributes
32 and it's wrong to expect them to be ignored by other browsers.
33
34 > Of course with a very little bit of work the pages could be
35 > made compliant, and that is allways better, but the badness is
36 > not so bad that conqueror should choke on it.
37
38 this is the wrong view again. i repeat: you simply can not blame
39 browsers for "bad" rendering of not standard compliant pages
40 (i.e. it's *not* a bug). but you can blame them for incorrect
41 rendering of standard compliant pages (i.e. it's a bug).
42
43 just try to write parsers/renderers without clear specifications
44 and i promise you will miserably fail. i have gone through this.
45 html is rather "adventurous" stuff already - do not let us make
46 it worse.
47
48 regards
49
50 dan
51
52 ps. nuff said ;) at least i hope so, though i have omitted some
53 niceties... i am just a bit tired of explaining things again and
54 again. and yep, i know hoffmann's law etc. ;))
55
56 - --
57 ...::: Daniel Mettler | http://www.numlock.ch :::....
58
59 -----BEGIN PGP SIGNATURE-----
60 Version: GnuPG v1.0.7 (GNU/Linux)
61
62 iD8DBQE9WTPtSLYjgrGjnWQRAsjSAKDabrw5veoIe2BH7md2G5OzEpeM7wCg9LAq
63 JowYSYShUBiFXMck3XMrsao=
64 =uXqY
65 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: not valid {x}html (was Re: [gentoo-dev] www.gentoo.org and konqueror) Paul de Vrieze <pauldv@××××××.nl>