You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2012/08/18 00:49:38 UTC

[jira] [Assigned] (TAP5-1976) XML Parser adds attributes with default values and produces invalid HTML5 markup

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

Howard M. Lewis Ship reassigned TAP5-1976:
------------------------------------------

    Assignee: Howard M. Lewis Ship
    
> XML Parser adds attributes with default values and produces invalid HTML5 markup
> --------------------------------------------------------------------------------
>
>                 Key: TAP5-1976
>                 URL: https://issues.apache.org/jira/browse/TAP5-1976
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.3
>            Reporter: Thomas Scheinecker
>            Assignee: Howard M. Lewis Ship
>
> After some research I found out that this issue is a reoccurring one - which never really has been fixed.
> The first one was TAP5-171 the second TAP5-1044
> The problem hasn't changed very much except that deleting the doctype doesn't help anymore since t5.3 as xhtml transitional is used in memory when none is provided (same for the html5 doctype) (source: http://tapestry.apache.org/component-templates.html#ComponentTemplates-TemplateDoctypes).
> When using html5 the problem is that invalid html markup is generated, for example:
>  - a br tag renders as <br clear="none"/> where clear is invalid html5
>  - an a tag renders as <a shape="rect">... where the shape attribute is invalid html5

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