Re: xmlns missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry for the delay:

> validating the login-page (src/login.php, from the -svn version) with
> validator.w3.org fails with:
>
>   > Line 2, Column 5: Missing xmlns attribute for element html. The value
>   > should be: http://www.w3.org/1999/xhtml.
>   >  <html lang="en_US">
>
> With the patch below, validation succeeds. Care to include this one?

Note this is for version 1.5.2.  I do believe you are correct.  It has
been added.  Thank you.

> --- templates/default/protocol_header.tpl.orig  2008-08-15 14:16:40.892910626 +0200
> +++ templates/default/protocol_header.tpl       2008-08-15 14:17:37.922908575 +0200
> @@ -40,7 +40,7 @@ if (empty($lang)) {
>      <?php
>  } else {
>      ?>
> -<html lang="<?php echo $lang; ?>">
> +<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="<?php echo $lang; ?>" lang="<?php echo $lang; ?>">
>      <?php
>  }
>  ?>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux