Drupal won't validate as XHTML 1.0 Transitional because of missing ' />' at end of feed link tag....
node.module
drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS" href="'. url('node/feed') .'">');
Should be:
drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS" href="'. url('node/feed') .'" />');
Same for taxonomy.module:
drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS - '. implode(' : ', $names) .'" href="'. url("taxonomy/feed/or/$taxonomy->str_tids") .'">');
Should be:
drupal_set_html_head('<link rel="alternate" type="application/rss+xml" title="RSS - '. implode(' : ', $names) .'" href="'. url("taxonomy/feed/or/$taxonomy->str_tids") .'" />');
Comments
Comment #1
gábor hojtsyThe code you quote from node.module was added in rev 1.329 (Feb 08), and it was XHTML compliant from the start...
The code you quote from taxonomy.module was fixed to be XHTML compliant on Feb 01.
Please really use a CVS version in case you submit a bug for the CVS version...
Comment #2
(not verified) commented