Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79722 - gentoo-webroot-default is not valid -//W3C/DTD XHTML 1.0 Transitional//EN
Summary: gentoo-webroot-default is not valid -//W3C/DTD XHTML 1.0 Transitional//EN
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Apache Team - Bugzilla Reports
URL: http://validator.w3.org/check?uri=htt...
Whiteboard:
Keywords:
Depends on:
Blocks: 76457
  Show dependency tree
 
Reported: 2005-01-27 06:59 UTC by Holly
Modified: 2005-01-28 19:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
valid index.html (index.html,1.57 KB, text/html)
2005-01-27 07:01 UTC, Holly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holly 2005-01-27 06:59:58 UTC
I just tested the new gentoo-webroot-default. It looks nice and I like it better than the default apache-page, but unfortunatly it is not fully standard compliant.

There's a link to the w3-validator in the "url"-field. I'll attach a fully valid index.html in a second post.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Holly 2005-01-27 07:01:48 UTC
Created attachment 49663 [details]
valid index.html

This is a valid index.html file.
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-27 07:42:22 UTC
gentoo-webroot-default also doesn't include icons (dir listing broken, etc)
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-28 09:03:43 UTC
this is fixed in cvs. please test
Comment 4 Holly 2005-01-28 11:13:51 UTC
Works for me.

But one thing: I don't know much about current markup-language standards, but why are "" and '' both used? It makes no sense for me to mix quotation marks.
Comment 5 Christian Parpart (RETIRED) gentoo-dev 2005-01-28 19:02:33 UTC
> But one thing: I don't know much about current markup-language 
> standards, but why are "" and '' both used? It makes no sense for me to mix quotation marks.

the W3 working groups for XML/XHTML (dunno about HTML4 and prior) recommend using single quotes (') but allow double quotes (") as well. Since it may happen, that you also wanne write quotes inside element attribute content, let's say single quotes, they recomment using double quotes for defining the element attribute and vice versa for the other way around.
So, it's a matter of taste, single quotes look cleaner (to me) but sometimes you need to quote a string inside the element attribute. So I use double quotes for the outer string and single quotes for the inner string (happens very often in XPath expression in XSLT documents).

Finally, thanks for the conformance test, I must just have been to tired when writing this file ;) Thanks.