tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lenny Primak (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-1720) HTML 5 doctype is not preserved, gets transformed in XHTML 1.0
Date Mon, 24 Oct 2011 20:02:32 GMT
HTML 5 doctype is not preserved, gets transformed in XHTML 1.0

                 Key: TAP5-1720
                 URL: https://issues.apache.org/jira/browse/TAP5-1720
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.3, 5.4
            Reporter: Lenny Primak
            Priority: Minor

Templates that use <!DOCTYPE html> still have
the following (non-html5) output when viewed from the browser:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>

I believe that the HTML 5 doctype should be preserved 'out of the box'
Meanwhile, there is a workaround by adding a contribution to MarkupRenderer service.

--------------- tml ----------------------------
<!DOCTYPE html>
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd"
	  xmlns:p="tapestry:parameter" xmlns:f="tapestry-library:flowlogix">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<title>Erase Junk Mail</title>
---------- Java (blank)

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