Gentoo Archives: gentoo-dev

From: Colin Morey <moreyc@××××××××××××××××.uk>
To: Daniel Mettler <mettlerd@×××××××××.ch>
Cc: gentoo-dev@g.o
Subject: Re: not valid {x}html (was Re: [gentoo-dev] www.gentoo.org and konqueror)
Date: Mon, 12 Aug 2002 12:00:40
Message-Id: 1029171363.9579.43.camel@julia.random-chaos.org.uk
In Reply to: Re: not valid {x}html (was Re: [gentoo-dev] www.gentoo.org and konqueror) by Daniel Mettler
1 On Mon, 2002-08-12 at 17:13, Daniel Mettler wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > hi colin,
6 >
7 Hiyas,
8 Forgive me if i'm not fully understanding what you've said below,..
9
10 > On Monday 12 August 2002 11:43, Colin Morey wrote:
11 > > They have to be built from valid xml or they won't build, I
12 > > assume you mean xsl,
13 >
14 > i wanted to point out that, if all the content is available as
15 > valid xml (as i suppose), it's pretty astonishing that the
16 > final html pages were not valid html from the beginning
17 > already. imnsho, using xslt it's almost harder to transform valid
18 > xml pages into invalid {x}html pages than into valid ones ;)
19 All content is built from vaild xml, (ie every <start> has a
20 corresponding </start>)
21
22 However I'm not sure what you mean by it being astonishing that it's not
23 valid html.. if you mean that the html generated by the xsl/xml
24 interaction is not valid, then that's a fair point, (and incidently I
25 believe it is a fault of the xsl not the xml. Which I'm working to
26 address).
27
28
29 >
30 > now it should be a matter of adjusting the respective xslt file
31 > to make all the resulting {x}html pages valid according to the
32 > w3c specifications.
33 >
34 Indeed, and it's a project that is currently underway. :)
35
36 > > (regardless, it's the end html that being
37 > > validated/looked at here).
38 >
39 > yep. nevertheless it's wise to choose a powerful, rather generic
40 > language such as xml/xsl as base language (to easily
41 > batch-transform content into other formats).
42 hmm, that is exactly what we've done.. all of the docuements are in xml
43 and then get "translated" into html when the site is built.
44
45 > > <rant level="mini" severity="mild">I offer up this, would you
46 > > prefer a page that validated 100% or one that actually worked
47 > > in most browsers..
48 >
49 > sorry, this is no question, really:
50 I agree, I'm of the "100%" camp, but i acknowledge that many people use
51 browsers that aren't standards compilant.
52
53
54 >
55 > i) there is no contradiction between the two. in fact w3c
56 > standards ensure that pages work with most browsers (or rather:
57 > that each browser has equal chances to work nicely with standard
58 > compliant pages. it's the same in the end.)
59 You know as well as I do that html does not render the same in all
60 browsers, this is both sad and unfortunate. I'm fully in favour of 100%
61 validating pages.
62
63 > ii) when writing standard compliant pages you are not obliged to
64 > use the latest-and-greatest tag specified in a standard (though
65 > you may, if you want).
66 However if you use the tags, then be prepared for many browsers to get
67 confused,
68 >
69 > iii) if a browser does not parse/render pages well which are
70 > compliant to a nice, widely accepted, clearly specified, open
71 > standard, it's the browser's problem (i.e. a bug).
72 >
73 hear hear,
74
75 > iv) adhering to open and free standards is the alpha and omega in
76 > i.t.
77 >
78 > nb. i do not consider konqueror to be a bad browser. it's my
79 > default browser and i like it for its high performance and nice
80 > features. usually it works fine with standard compliant pages,
81 > but konqi/khtml still have some weaknesses/bugs indeed. i am
82 > sure the devs are working hard to fix the bugs and improve
83 > konqi/khtml.
84 >
85 I don't use konqueror, mainly because i don't use kde, I tried it once,
86 then left it in favour of enlightenment/gnome. So I really appreciate
87 reports of brokeness in that browser, when i have time i will be setting
88 up enviroments that i can use to test cross-browser compatibility,
89 (netscape 3 anyone?)
90
91 Colin Morey.
92
93 Aka Peitolm@g.o

Replies

Subject Author
Re: not valid {x}html (was Re: [gentoo-dev] www.gentoo.org and konqueror) Daniel Mettler <mettlerd@×××××××××.ch>