Tapestry 5
  1. Tapestry 5
  2. TAP5-724

Tapestry generates invalid HTML (for strict and transitional doctypes)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: 5.3
    • Component/s: None
    • Labels:
      None

      Description

      As http://validator.w3.org/check tells, HTML documents generated from Tapestry are invalid. xHTMLs are valid.

      I.e. using

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

      or

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

      leads to invalid documents.

      The errors are:

      • Attribute "XMLNS" is not a valid attribute.

      ...<html xmlns="http://www.w3.org/1999/xhtml">

      • end tag for element "LINK" which is not open

      ...tapestry/5.1.0.5/default.css"></link><link type="text/css" rel="stylesheet" h

      • end tag for element "META" which is not open

      ...on 5.1.0.5)" name="generator"></meta></head>

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Sergey Didenko
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development