Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Following up on http://drupal.org/node/332980#comment-1123354, the RDFa dtd requires XHTML 1.1. The relevant changes between XHTML 1.0 and XHTML 1.1 are:
# On every element, the lang attribute has been removed in favor of the xml:lang attribute.
# On the a and map elements, the name attribute has been removed in favor of the id attribute.
The themes will have to remove the old lang
attribute and only use xml:lang
.
A quick grep revealed:
./modules/forum/forum-icon.tpl.php:18: <a name="new">
There might be more of them and we'll need to fix these as well.
Comment | File | Size | Author |
---|---|---|---|
#4 | 338429_xhtml11_fix_name.patch | 525 bytes | scor |
#1 | rdfa_xhtml11.patch | 3.92 KB | scor |
Comments
Comment #1
scor CreditAttribution: scor commentedthis patch removes the outdated
lang
attributes in the core themes.Comment #2
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #4
scor CreditAttribution: scor commentedComment #5
scor CreditAttribution: scor commentedtagging with RDF
Comment #6
Freso CreditAttribution: Freso commentedI tried to grep around in various ways to see if there were some
l()
calls or similar with'name' => $foo
or similar, but found nothing.Comment #7
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.