GNU bug report logs - #24981
[Website] All pages fail the HTML validation test

Previous Next

Package: guix;

Reported by: Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>

Date: Mon, 21 Nov 2016 19:31:01 UTC

Severity: normal

Done: sirgazil <sirgazil <at> zoho.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24981 in the body.
You can then email your comments to 24981 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Mon, 21 Nov 2016 19:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 21 Nov 2016 19:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>
To: bug-guix <at> gnu.org
Subject: [Website] All pages fail the HTML validation test
Date: Mon, 21 Nov 2016 14:29:51 -0500
Steps to reproduce
==================

1. Go to https://validator.w3.org/
2. For each page in the website: validate by URI


Unexpected behavior
===================

All pages are marked as [Invalid]


Expected behavior
=================

All pages are marked as valid HTML 5 (Document checking completed. No 
errors or warnings to show.)


Additional information
======================

Most of the errors happen because of a missing Doctype declaration. It 
seems all pages built with Haunt have this problem, while the 
packages[1] and packages issues[2] pages, generated with a different 
mechanism, do include the document type.

There are other errors not related to the document type declaration in 
the packages-related pages.[1][2] Mostly, obsolete elements or 
attributes, and missing closing tags.


[1]: https://www.gnu.org/software/guix/packages
[2]: https://www.gnu.org/software/guix/packages/issues.html



-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/




Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Wed, 23 Nov 2016 21:47:01 GMT) Full text and rfc822 format available.

Message #8 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>
Cc: 24981 <at> debbugs.gnu.org, David Thompson <davet <at> gnu.org>
Subject: Re: bug#24981: [Website] All pages fail the HTML validation test
Date: Wed, 23 Nov 2016 22:45:45 +0100
Hello!

Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org> skribis:

> Steps to reproduce
> ==================
>
> 1. Go to https://validator.w3.org/
> 2. For each page in the website: validate by URI
>
>
> Unexpected behavior
> ===================
>
> All pages are marked as [Invalid]

Oops.

> Most of the errors happen because of a missing Doctype declaration. It
> seems all pages built with Haunt have this problem, while the
> packages[1] and packages issues[2] pages, generated with a different
> mechanism, do include the document type.

I see you already fixed this one the same way I’d have done it.  :-)

> There are other errors not related to the document type declaration in
> the packages-related pages.[1][2] Mostly, obsolete elements or
> attributes, and missing closing tags.

This is underway too, right?

Ludo’, who likes self-fixing bugs.  :-)




Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Thu, 24 Nov 2016 00:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>
To: ludo <at> gnu.org
Cc: 24981 <at> debbugs.gnu.org, David Thompson <davet <at> gnu.org>
Subject: Re: bug#24981: [Website] All pages fail the HTML validation test
Date: Wed, 23 Nov 2016 19:25:06 -0500
On 2016-11-23 16:45, ludo <at> gnu.org wrote:
> Hello!
> 
> Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org> skribis:
> 
>> There are other errors not related to the document type declaration in
>> the packages-related pages.[1][2] Mostly, obsolete elements or
>> attributes, and missing closing tags.
> 
> This is underway too, right?

Yes. The ones on the Packages issues page will get fix with the fix for 
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22115>, and then I'll 
check what's wrong with the Packages page.

> Ludo’, who likes self-fixing bugs.  :-)

:)

-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/




Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Thu, 24 Nov 2016 09:18:02 GMT) Full text and rfc822 format available.

Message #14 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>
Cc: 24981 <at> debbugs.gnu.org
Subject: Re: bug#24981: [Website] All pages fail the HTML validation test
Date: Thu, 24 Nov 2016 10:17:04 +0100
Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org> skribis:

> On 2016-11-23 16:45, ludo <at> gnu.org wrote:
>> Hello!
>>
>> Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org> skribis:
>>
>>> There are other errors not related to the document type declaration in
>>> the packages-related pages.[1][2] Mostly, obsolete elements or
>>> attributes, and missing closing tags.
>>
>> This is underway too, right?
>
> Yes. The ones on the Packages issues page will get fix with the fix
> for <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22115>, and then
> I'll check what's wrong with the Packages page.

Awesome.  I can update the other pages with CVS when you deem
appropriate, if you don’t feel like fiddling with CVS yourself.

Thanks!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Wed, 06 Dec 2017 19:07:01 GMT) Full text and rfc822 format available.

Message #17 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: 24981 <at> debbugs.gnu.org
Subject: [Website] All pages fail the HTML validation test
Date: Wed, 6 Dec 2017 14:06:03 -0500
With the new website online, all pages pass the HTML validation, except 
for the Packages page, which has a </p> tag for no opened P element in 
every package description, and uses obsolete TT element in links to patches.

https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fguix%2Fpackages%2F


-- 
https://sirgazil.bitbucket.io/





Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Thu, 07 Dec 2017 12:22:02 GMT) Full text and rfc822 format available.

Message #20 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: sirgazil <sirgazil <at> zoho.com>
Cc: 24981 <at> debbugs.gnu.org
Subject: Re: bug#24981: [Website] All pages fail the HTML validation test
Date: Thu, 07 Dec 2017 13:21:41 +0100
Hello,

sirgazil <sirgazil <at> zoho.com> skribis:

> With the new website online, all pages pass the HTML validation,
> except for the Packages page, which has a </p> tag for no opened P
> element in every package description,

Oh, how’s that possible?  A bug in Guile’s ‘sxml->xml’?

> and uses obsolete TT element in links to patches.

I didn’t know <tt> is obsolete.  Would <code> be OK here?

We’d need to adjust Guile’s stexi modules accordingly.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Thu, 07 Dec 2017 13:34:02 GMT) Full text and rfc822 format available.

Message #23 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 24981 <at> debbugs.gnu.org
Subject: Re: bug#24981: [Website] All pages fail the HTML validation test
Date: Thu, 7 Dec 2017 08:33:09 -0500
On 07/12/17 07:21, Ludovic Courtès wrote:
> Hello,
> 
> sirgazil <sirgazil <at> zoho.com> skribis:
> 
>> With the new website online, all pages pass the HTML validation,
>> except for the Packages page, which has a </p> tag for no opened P
>> element in every package description,
> 
> Oh, how’s that possible?  A bug in Guile’s ‘sxml->xml’?

I haven't take a look at the code yet. But I plan to do so after I 
upgrade Guix to 0.14.


>> and uses obsolete TT element in links to patches.
> 
> I didn’t know <tt> is obsolete.  Would <code> be OK here?
> 

Depending on the meaning of the texinfo command that is converted to TT 
one could use CODE, a SPAN with a class or any of the other elements 
recommended here: 
https://www.w3.org/TR/html5/obsolete.html#non-conforming-features.

> We’d need to adjust Guile’s stexi modules accordingly.
> 
> Thanks,
> Ludo’.
> 





Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Sat, 09 Dec 2017 15:19:02 GMT) Full text and rfc822 format available.

Message #26 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 24981 <at> debbugs.gnu.org
Subject: Re: bug#24981: [Website] All pages fail the HTML validation test
Date: Sat, 9 Dec 2017 10:17:34 -0500

On 07/12/17 07:21, Ludovic Courtès wrote:
> Hello,
> 
> sirgazil <sirgazil <at> zoho.com> skribis:
> 
>> With the new website online, all pages pass the HTML validation,
>> except for the Packages page, which has a </p> tag for no opened P
>> element in every package description,
> 
> Oh, how’s that possible?  A bug in Guile’s ‘sxml->xml’?

I just fixed this one. It was a mistake in the packages template (using 
a DIV element inside a P element).

https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/commit/?id=61b79b7fdd5a2a5bbaae7f53891e489ffa28fc95


>> and uses obsolete TT element in links to patches.
> 
> I didn’t know <tt> is obsolete.  Would <code> be OK here?
> 
> We’d need to adjust Guile’s stexi modules accordingly.
> 
> Thanks,
> Ludo’.
> 





Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Sat, 09 Dec 2017 21:16:02 GMT) Full text and rfc822 format available.

Message #29 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: sirgazil <sirgazil <at> zoho.com>
Cc: 24981 <at> debbugs.gnu.org
Subject: Re: bug#24981: [Website] All pages fail the HTML validation test
Date: Sat, 09 Dec 2017 22:15:47 +0100
sirgazil <sirgazil <at> zoho.com> skribis:

> On 07/12/17 07:21, Ludovic Courtès wrote:
>> Hello,
>>
>> sirgazil <sirgazil <at> zoho.com> skribis:
>>
>>> With the new website online, all pages pass the HTML validation,
>>> except for the Packages page, which has a </p> tag for no opened P
>>> element in every package description,
>>
>> Oh, how’s that possible?  A bug in Guile’s ‘sxml->xml’?
>
> I just fixed this one. It was a mistake in the packages template
> (using a DIV element inside a P element).
>
> https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/commit/?id=61b79b7fdd5a2a5bbaae7f53891e489ffa28fc95

Good catch, thanks!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Wed, 06 Feb 2019 17:26:01 GMT) Full text and rfc822 format available.

Message #32 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: 24981 <at> debbugs.gnu.org
Subject: [Website] All pages fail the HTML validation test
Date: Wed, 6 Feb 2019 12:08:31 -0500
[Message part 1 (text/plain, inline)]
Hi,

This issue is solved in the website repository now. The following 
commits fix remaining validation errors related to the use of the 
obsolete TT element:

 * 13a1a5a41df9eae7d3ca54c6ab4774c7804dba45
   <https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/commit/?id=38ba9baa9162e4060160c03d0827787c9f52e26c>
 * 38ba9baa9162e4060160c03d0827787c9f52e26c
   <https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/commit/?id=38ba9baa9162e4060160c03d0827787c9f52e26c>

And the following commit fixes a validation error related to using a P 
element as a container of DIV elements:

b951df49798db870aab5ebd4c63d70d2d0c6c8cf 
<https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/commit/?id=b951df49798db870aab5ebd4c63d70d2d0c6c8cf>

I think once these changes are deployed to gnu.org and guix.info this 
issue can be closed.

P. S.: I would deploy it myself, but I don't remember how to do it in 
the case of gnu.org, and I don't have information about guix.info.

:)


[Message part 2 (text/html, inline)]

Reply sent to sirgazil <sirgazil <at> zoho.com>:
You have taken responsibility. (Fri, 08 Feb 2019 14:15:02 GMT) Full text and rfc822 format available.

Notification sent to Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>:
bug acknowledged by developer. (Fri, 08 Feb 2019 14:15:03 GMT) Full text and rfc822 format available.

Message #37 received at 24981-done <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: 24981-done <at> debbugs.gnu.org
Subject: [Website] All pages fail the HTML validation test
Date: Fri, 8 Feb 2019 09:14:11 -0500
Fixed. Changes published.


-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.io/






Information forwarded to bug-guix <at> gnu.org:
bug#24981; Package guix. (Fri, 08 Feb 2019 22:01:01 GMT) Full text and rfc822 format available.

Message #40 received at 24981 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: sirgazil <sirgazil <at> zoho.com>
Cc: 24981 <at> debbugs.gnu.org
Subject: Re: bug#24981: [Website] All pages fail the HTML validation test
Date: Fri, 08 Feb 2019 23:00:47 +0100
Hello sirgazil,

sirgazil <sirgazil <at> zoho.com> skribis:

> This issue is solved in the website repository now. The following
> commits fix remaining validation errors related to the use of the
> obsolete TT element:
>
>  * 13a1a5a41df9eae7d3ca54c6ab4774c7804dba45
>    <https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/commit/?id=38ba9baa9162e4060160c03d0827787c9f52e26c>
>  * 38ba9baa9162e4060160c03d0827787c9f52e26c
>    <https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/commit/?id=38ba9baa9162e4060160c03d0827787c9f52e26c>
>
> And the following commit fixes a validation error related to using a P
> element as a container of DIV elements:
>
> b951df49798db870aab5ebd4c63d70d2d0c6c8cf
> <https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/commit/?id=b951df49798db870aab5ebd4c63d70d2d0c6c8cf>
>
> I think once these changes are deployed to gnu.org and guix.info this
> issue can be closed.

Thanks for fixing these!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 09 Mar 2019 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.