[Xfce-bugs] [Bug 4207] New: doc (code) improvements

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Jul 8 12:12:09 CEST 2008

DO NOT REPLY TO THIS EMAIL.  Also, do not reply via email to the person
whose email is mentioned below.  To comment on this bug, please visit:

           Summary: doc (code) improvements
           Product: Xfce
           Version: 4.4.2
          Platform: PC (x86)
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: Medium
         Component: xfce-utils
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: matthias.krueger at famsik.de

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:
Gecko/20080404 Iceweasel/ (Debian-
Build Identifier: 

I noticed that the file file:///usr/share/xfce4/doc/C/index.html is not valid.
There is no doctype.

Reproducible: Always

Steps to Reproduce:
1. go to http://validator.w3.org/#validate_by_input
2. copy the content of the file /usr/share/xfce4/doc/C/index.html into the
white field
3. press "check"

Actual Results:  
The validator said:
"This page is not Valid (no Doctype found)!
Result:         Failed validation, 2 Errors"

Expected Results:  
The validator should have said:
"This Page Is Valid XHTML 1.0 Strict!
Result:         Passed validation"

I made a patch: 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <title>Xfce Documentation</title>
   <link rel="stylesheet" href="../xfce-chunk.css" type="text/css"/>
   <h1>Xfce 4.4 Documentation</h1>
   <p>The documentation for Xfce 4.4 is installed with the different 
        components that make up the desktop environment. As a consequence, 
        some of the documents listed here may not be available on your
   <p> </p>
   <p> </p>
    <a href="xfce4-user-guide.html">Xfce 4.4 User Guide</a>
   <p> </p>
     <a href="xfce4-panel.html">Panel</a>
     <a href="xfwm4.html">Window Manager</a>
     <a href="xfce4-session.html">Session Manager</a>
     <a href="xfdesktop.html">Desktop Manager</a>
     <a href="xfce-utils.html">Utilities and Scripts</a>
     <a href="xfprint.html">Printing Management</a>
     <a href="xfce-mcs-manager.html">Settings Manager</a>
     <a href="xfce-mcs-plugins.html">Settings Manager Plugins</a>
     <a href="exo-preferred-applications.html">Preferred Applications</a>
     <a href="xffm.html">Filemanager</a>
     <a href="xfce4-appfinder.html">Application Finder</a>
   <p> </p>
    <img class="center" src="../xfce-mouse.png" alt="image of the xfce-mouse"/>


body            { font: "Vera Sans", "Arial", "Helvetica", "sans-serif"; 
                  margin: 2em; background-color: #F3F4F8}
h1,h2,h3,h4     { color: #11375F; }
h3              { margin-top: 1em; margin-bottom: 0; }
dt              { margin-top: 0.2em; }
a               { font-weight: bold; text-decoration: none; }
a:link,a:active { color: #1A5593; }
a:visited       { color: #1A5593; }
a:hover         { color: #3366FF; text-decoration: underline; }
hr              { background-color: #11375F; border-style: solid; }
li              { list-style-type: square; }
dt              { font-weight: bold; }
.programlisting { background-color: #F8F9FD; border-color: #8593B3;
                  border-width: 1px; border-style: solid; padding: 0.5em; }
.center         { display: block;
                  margin-left: auto;
                  margin-right: auto;}

Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Xfce-bugs mailing list