Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-592

Pelt skin not HTML 4.01 compliant

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7, 0.8
    • Fix Version/s: 0.8
    • Component/s: Skins (general issues)
    • Labels:
      None

      Description

      Just go to the Forrest home page and click the HTML 4.01 Compliance button. The page doesn't validate. Other sites, e.g. Apache FOP, created with the same skin have the same problem. One issue I could identify is that in the site2xhtml.xsl there are tags like:
          <input type="submit" value="Search" name="Search" i18n:attr="value"/>.
      The 'i18n:attr="value"' bit creates a non HTML 4.01 compliant attribute. Other problems are related to Javascript not being escaped correctly, e.g.
           document.write("<text>Last Published:</text> " + document.lastModified);
      should be written as
         document.write("<text>Last Published:<\/text> " + document.lastModified);

      I assume a requirement of being allowed to put the W3C HTML 4.01 Compliant logo on the site is that the pages correctly validate. Pages based on this skin don't validate but do carry the logo. Sounds like a problem to me.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              malm Manuel Mall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: