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

Dylan Baker dylan at pnwbakers.com
Wed Jul 11 17:20:33 UTC 2018


Quoting Erik Faye-Lund (2018-07-11 00:39:37)
> 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.

I would certinaly hope that xmllint's --html mode would be for html, and not xml
or xhtml.

At this point however, everything else that it caught (which was quite useful),
has been fixed by other patches, so I'll just drop this one.

> 
> > 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>
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180711/4535c513/attachment.sig>


More information about the mesa-dev mailing list