You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/10/18 01:59:12 UTC

[jira] [Commented] (TAP5-724) Tapestry generates invalid HTML (for strict and transitional doctypes)

    [ https://issues.apache.org/jira/browse/TAP5-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129353#comment-13129353 ] 

Hudson commented on TAP5-724:
-----------------------------

Integrated in tapestry-trunk-freestyle #580 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/580/])
    TAP5-724: Tapestry generates invalid HTML (for strict and transitional doctypes)

hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1185431
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/dom/DefaultMarkupModel.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/internal/services/added_scripts_go_before_existing_script.txt
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/internal/services/ie_conditional_stylesheet.txt
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/internal/services/immediate_initialization.txt
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/internal/services/other_initialization.txt
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/internal/services/pretty_print_initialization.txt

                
> 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: 5.1.0.5
>            Reporter: Sergey Didenko
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.3
>
>
> 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>

--
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