Re: xhtml errors
Rich Bowen <[email protected]> Sat, 30 May 2026 18:33:10 -0400
| Newsgroups | gmane.comp.apache.documentation |
|---|---|
| Message-ID | <[email protected]> |
I=E2=80=99ve gone ahead and patched trunk, but note that this means =
I=E2=80=99ve also patched the build/ repo, so I need to go ahead and =
patch 2.4 pretty soon, or things will be kinda broken in the meanwhile.
Please see the README in build/ =E2=80=94 in particular:
The `validate-xhtml` target uses the W3C Nu HTML Checker. Download
`vnu.jar` into this directory if you don't already have it:
curl -L -o vnu.jar =
https://github.com/validator/validator/releases/download/latest/vnu.jar
See https://github.com/validator/validator for details.
Give that a try, and if you=E2=80=99re happy with it, I=E2=80=99ll do =
2.4 as well
=E2=80=94Rich
> On May 30, 2026, at 9:01=E2=80=AFAM, Lucien Gentis =
<[email protected]> wrote:
>=20
> Hello Rich,
>=20
> After building the doc (fr doc only), "./build.sh validate-xhtml" =
command gives these 2 errors for almost all files, all languages, trunk =
and 2.4 :
>=20
> *************************************
>=20
> [xmlvalidate] =
/home/lgentis/travail/traduction-apache/httpd-2.4/manual/bind.html.de:26:3=
87: The content of element type "button" must match =
"(p|h1|h2|h3|h4|h5|h6|div|ul|ol|dl|pre|hr|blockquote|address|table|br|span=
|bdo|map|object|img|tt|i|b|big|small|em|strong|dfn|code|q|samp|kbd|var|cit=
e|abbr|acronym|sub|sup|noscript|ins|del|script)".
> [xmlvalidate] =
/home/lgentis/travail/traduction-apache/httpd-2.4/manual/bind.html.de is =
not a valid XML document
>=20
> *************************************
>=20
> [xmlvalidate] =
/home/lgentis/travail/traduction-apache/httpd-2.4/manual/bind.html.en:26:6=
3: Attribute "aria-label" must be declared for element type "button".
> [xmlvalidate] =
/home/lgentis/travail/traduction-apache/httpd-2.4/manual/bind.html.en:26:1=
97: Element type "svg" must be declared.
> [xmlvalidate] =
/home/lgentis/travail/traduction-apache/httpd-2.4/manual/bind.html.en:26:2=
30: Element type "circle" must be declared.
> [xmlvalidate] =
/home/lgentis/travail/traduction-apache/httpd-2.4/manual/bind.html.en:26:2=
69: Element type "line" must be declared.
> [xmlvalidate] =
/home/lgentis/travail/traduction-apache/httpd-2.4/manual/bind.html.en:26:3=
72: Element type "path" must be declared.
>=20
> *************************************
>=20
> Probably a CSS/XSL problem I have no idea to resolve
>=20
> Lucien
>=20
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>=20