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
On Sat, Jul 12, 2025 at 2:50 PM <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@localhost:/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="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
> <body class="website"><div class="webpage">
>
> Note the <meta> tag outside of <head>.
> This comes fromhtdocs/share/xsl/webpage.xsl:
>
> <html>
> <xsl:apply-templates select="head" mode="head.mode"/>
> <meta name="viewport" content="width=device-width, initial-scale=1.0, minim$
> <xsl:apply-templates select="config" mode="head.mode"/>
> <body class="website">
>
>
> >How-To-Repeat:
>
> Point validator.w3.org at a random NetBSD web page != /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