DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23747>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23747

Directory listings use XHTML syntax in HTML document

           Summary: Directory listings use XHTML syntax in HTML document
           Product: Apache httpd-2.0
           Version: 2.0.47
          Platform: All
               URL: http://www.apache.org/dist/
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: mod_autoindex
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Directory listings with FancyIndexing use XHTML syntax in an HTML document:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
...
<img src="/icons/text.gif" alt="[TXT]" />
...
<hr />

In HTML, "<hr />" is actually equivalent to "<hr>>" (note the extra ">"). It's
only in XHTML where the slash is used with empty elements. For details on empty
elements in HTML vs. XHTML, see

http://www.cs.tut.fi/~jkorpela/html/empty.html

To fix the problem, don't use the slash in empty elements in HTML:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
...
<img src="/icons/text.gif" alt="[TXT]">
...
<hr>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to