Re: xhtml errors

Lucien Gentis <[email protected]> Sun, 31 May 2026 17:25:17 +0200
Newsgroups gmane.comp.apache.documentation
Message-ID <[email protected]>
--------------Xc9rOT3RPJnxQubRfpJ66oY1
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Le 31/05/2026 à 13:48, Rich Bowen a écrit :
>
> On Sat, May 30, 2026, 18:33 Rich Bowen <[email protected]> wrote:
>
>     I’ve gone ahead and patched trunk, but note that this means I’ve
>     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.
>
>
> https://validator.w3.org/nu/?doc=https%3A%2F%2Fhttpd.apache.org%2Fdocs%2Ftrunk%2Fbind.html
>
>
> We're down to one warning and one error, and neither one of them 
> particularly concern me.  I'll push this over to 2.4 today or tomorrow.
>
> Note that there's related problems with the httpd-site repo but since 
> that site is generated completely differently I haven't looked at that 
> yet. I expect it's related but that the fix will be different.
>
I tested trunk :

=== TESTING ===

1. Apply patch, rebuild one language: ./build.sh en
./build.sh validate-xml : OK
./build.sh fr : OK
./build.sh validate-xhtml : OK

2. Inspect generated .html — verify DOCTYPE is HTML5
First two lines of bind.html.fr.utf8 :
<!DOCTYPE html SYSTEM"about:legacy-compat">
<html lang="fr"><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8">

3. Run: java -jar vnu.jar --skip-non-html ../bind.html.en.utf8
Ran directly ./build.sh validate-xhtml : OK

4. Confirm void elements are not self-closed (<br> not <br/>)
No <br/> found in manual directory

5. Spot-check pages render identically in browser
I committed bind.html.fr.utf8, didn’t see any rendering problem.

All things seem to be OK

Great job Rich !

--------------Xc9rOT3RPJnxQubRfpJ66oY1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Le 31/05/2026 à 13:48, Rich Bowen a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAD6Vrevwd8sMRuPxXYueJvmgtjCDPiz59dDyFsMbjBxN8JTUOQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div dir="auto"><br>
        </div>
        <div class="gmail_quote gmail_quote_container" dir="auto">
          <div dir="ltr" class="gmail_attr">On Sat, May 30, 2026, 18:33
            Rich Bowen &lt;<a href="mailto:[email protected]"
              moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>&gt;
            wrote:<br>
          </div>
          <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’ve
            gone ahead and patched trunk, but note that this means I’ve
            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.<br>
          </blockquote>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><a
href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fhttpd.apache.org%2Fdocs%2Ftrunk%2Fbind.html"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://validator.w3.org/nu/?doc=https%3A%2F%2Fhttpd.apache.org%2Fdocs%2Ftrunk%2Fbind.html</a></div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">We're down to one warning and one error, and
          neither one of them particularly concern me.  I'll push this
          over to 2.4 today or tomorrow. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Note that there's related problems with the
          httpd-site repo but since that site is generated completely
          differently I haven't looked at that yet. I expect it's
          related but that the fix will be different.</div>
        <div dir="auto"><br>
        </div>
        <div class="gmail_quote gmail_quote_container" dir="auto">
          <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          </blockquote>
        </div>
      </div>
    </blockquote>
    <p>I tested trunk :</p>
    <pre wrap="" class="moz-quote-pre">=== TESTING ===

1. Apply patch, rebuild one language: ./build.sh en
./build.sh validate-xml : OK
./build.sh fr : OK
./build.sh validate-xhtml : OK

2. Inspect generated .html — verify DOCTYPE is HTML5
First two lines of bind.html.fr.utf8 :
&lt;!DOCTYPE html SYSTEM <a class="moz-txt-link-rfc2396E" href="about:legacy-compat">"about:legacy-compat"</a>&gt;
&lt;html lang="fr"&gt;&lt;head&gt;&lt;META http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;

3. Run: java -jar vnu.jar --skip-non-html ../bind.html.en.utf8
Ran directly ./build.sh validate-xhtml : OK

4. Confirm void elements are not self-closed (&lt;br&gt; not &lt;br/&gt;)
No &lt;br/&gt; found in manual directory

5. Spot-check pages render identically in browser
I committed bind.html.fr.utf8, didn’t see any rendering problem.

</pre>
    <p>All things seem to be OK</p>
    <p>Great job Rich !</p>
  </body>
</html>

--------------Xc9rOT3RPJnxQubRfpJ66oY1--