I am reporting http://drupal.org/documentation/modules/book to moderators because:
HTML5 Validation Error in Book Module
I got the following error message when validating the HTML pages rendered by the Book Module.
"Line 15, Column 71: Bad value up for attribute rel on element link: Not an absolute IRI. The string up is not a registered keyword or absolute URL."

Since the value “up” is no longer available in the tag link for HTML5 (http://www.w3schools.com/html5/att_link_rel.asp), I modified the book.module file replacing “up” by “ stylesheet”, and it worked.

Would this modification be included in the source code?

Thanks,

Comments

kingandy’s picture

Project: Drupal.org site moderators » Drupal core
Version: » 7.19
Component: Spam » book.module
Category: feature » bug

As it happens, the REL links on the "book" documentation page is provided by the "book" module itself (part of Drupal core). This is not a custom Drupal.org feature, so it's something that would have to change in that module - though I'm not sure what the appropriate fix would be, if any. Removing the "up" link altogether would allow the pages to validate but it seems like a bit of a loss.

Note, even though this bug was raised against Drupal.org (running on 6.x), I've had a quick look in the 7.19 release and the code adding the HTML head link still seems to be there (lines 1107-1112 of book.module).

(Side note: Here's a better link to allowed keywords and their meanings from the current HTML5 spec.)

Version: 7.19 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.