tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TAP5-724) Tapestry generates invalid HTML (for strict and transitional doctypes)
Date Tue, 18 Oct 2011 21:51:10 GMT

     [ https://issues.apache.org/jira/browse/TAP5-724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Howard M. Lewis Ship closed TAP5-724.

       Resolution: Won't Fix
    Fix Version/s:     (was: 5.3)

I've reverted this fix and will close the issue without fixing. Basically, as soon as I put
this into use on an existing app, the page layout got completely screwed. Apparently, browsers
prefer their markup broken. You can use meta-data to force Tapestry to use the XML (not HTML)
renderer, by setting the page content type.
> Tapestry generates invalid HTML (for strict and transitional doctypes)
> ----------------------------------------------------------------------
>                 Key: TAP5-724
>                 URL: https://issues.apache.org/jira/browse/TAP5-724
>             Project: Tapestry 5
>          Issue Type: Bug
>    Affects Versions:
>            Reporter: Sergey Didenko
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
> 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/"></link><link type="text/css" rel="stylesheet"
> - end tag for element "META" which is not open
> ...on" name="generator"></meta></head>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message