NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/59525: all xslt generated web pages are invalid html
The following reply was made to PR misc/59525; it has been noted by GNATS.
From: Andrius V <vezhlys%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: toolchain/59525: all xslt generated web pages are invalid html
Date: Tue, 15 Jul 2025 00:58:30 +0300
On Sat, Jul 12, 2025 at 2:50=E2=80=AFPM <martin%netbsd.org@localhost> wrote:
>
> >Number: 59525
> >Category: toolchain
> >Synopsis: all xslt generated web pages are invalid html
> >Confidential: no
> >Severity: critical
> >Priority: high
> >Responsible: toolchain-manager
> >State: open
> >Class: doc-bug
> >Submitter-Id: net
> >Arrival-Date: Sat Jul 12 11:50:00 +0000 2025
> >Originator: Martin Husemann
> >Release: NetBSD 10.99.12
> >Organization:
> The NetBSD Foundation, Inc.
> >Environment:
> System: NetBSD night-owl.duskware.de 10.99.12 NetBSD 10.99.12 (NIGHT-OWL)=
#2: Thu Oct 24 08:03:58 CEST 2024 martin@seven-days-to-the-wolves.aprisoft=
.de:/work/src/sys/arch/amd64/compile/NIGHT-OWL amd64
> Architecture: x86_64
> Machine: amd64
> >Description:
>
> All NetBSD web pages that are generated from .xml files are broken:
>
> <title>Continuous Builds for NetBSD</title>
> </head>
> <meta name=3D"viewport" content=3D"width=3Ddevice-width, initial-scale=3D=
1.0, minimum-scale=3D1.0">
> <body class=3D"website"><div class=3D"webpage">
>
> Note the <meta> tag outside of <head>.
> This comes fromhtdocs/share/xsl/webpage.xsl:
>
> <html>
> <xsl:apply-templates select=3D"head" mode=3D"head.mode"/>
> <meta name=3D"viewport" content=3D"width=3Ddevice-width, initial-scal=
e=3D1.0, minim$
> <xsl:apply-templates select=3D"config" mode=3D"head.mode"/>
> <body class=3D"website">
>
>
> >How-To-Repeat:
>
> Point validator.w3.org at a random NetBSD web page !=3D /index.html
>
> >Fix:
> n/a
>
Applied fix, which was based on the documentation I found in DocBook
XSL: The Complete Guide
(https://book.huihoo.com/docbook-xsl-the-complete-guide/InsertExtHtml.html#=
CodeInHead).
Regenerated all pages, if I didn't miss something (huge diff),
everything looked as expected, meta element moved under head element.
Regards,
Andrius V
Home |
Main Index |
Thread Index |
Old Index