[Mesa-dev] [PATCH v2 25/49] docs/meson.html: fix numerous issues spotted by xmllint

Erik Faye-Lund erik.faye-lund at collabora.com
Wed Jul 11 07:39:37 UTC 2018


On 11. juli 2018 01:17, Dylan Baker wrote:
> ---
>   docs/meson.html | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)

This is a HTML-document, not an XML document or XHTML. What xmllint 
thinks should be irrelevant.

> diff --git a/docs/meson.html b/docs/meson.html
> index b64ca2ec35e..d4b1861ff26 100644
> --- a/docs/meson.html
> +++ b/docs/meson.html
> @@ -1,9 +1,9 @@
>   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
>   <html lang="en">
>   <head>
> -  <meta http-equiv="content-type" content="text/html; charset=utf-8">
> +  <meta http-equiv="content-type" content="text/html; charset=utf-8" />

No, meta-tags should not have a trailing slash:
https://www.w3.org/TR/html401/struct/global.html#h-7.4.4

>     <title>Compilation and Installation using Meson</title>
> -  <link rel="stylesheet" type="text/css" href="mesa.css">
> +  <link rel="stylesheet" type="text/css" href="mesa.css" />

Link tags shouldn't have trailing slashes either:
https://www.w3.org/TR/html401/struct/links.html#edef-LINK

>   </head>
>   <body>
>   
> @@ -247,7 +247,6 @@ is unrelated to the <code>buildtype</code>; setting the latter to
>   </p>
>   </dd>
>   </dl>
> -
>   </div>
>   </body>
>   </html>



More information about the mesa-dev mailing list