Drupal Association members fund grants that make connections all over the world.
Not that I care about validity if the site works. Just want to know what to say if someone complains. :)
Drupal produces completely valid xhtml.
If you are having problems it might be due to the theme being used or the content of pages.
Do you have a URL of the problem page?
Drupal Specialists: Consulting, Development & Training
Robert Castelo, CTOCode Positive
London, United Kingdom
The only reason Drupal.org doesn't validate is because its theme uses the <wbr> tag. It seems that this theme is being actively tweaked and improved, so this may be only a temporary situation. Regardless, those particular tags are the only thing keeping it from validating.
Most pages on Steven's site, acko.net (which also uses Drupal) validate just fine.
Kjartan's site, natrak.net is another valid Drupal site.
In general, Drupal itself uses valid XHTML. True, there are a couple instances within Drupal's administration that do not validate, but they exist to make things more usable, and would not normally be visible to the public. (Most notably the wrap="virtual" which appears in textarea tags.)
So... to answer your question, Drupal itself (including the core themes and most contrib themes) does in fact validate. Chances are that the sites you've witnessed that DON'T validate have an admin who has consciously made a choice that having a few elements that aren't valid allows them to make their design better.
thanks! that explains it. i'm happy now. :)
Well, the HTML header of the Drupal site I'm playing with contains
the following element:
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://drupal.ibka.org/node/feed">
... which doesn't validate as XHTML because it should end with "\>".
If you search you can find the patch to fix this locally, it will be included in the next Drupal release.
And actually, it should end with a forward slash :P.
If you have a problem, please search before posting a question.
This bug in drupal_add_link is fixed now, see http://drupal.org/node/24278.
Drupal is a registered trademark of Dries Buytaert.