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

Jakub Stroleny updated TAP5-352:
--------------------------------

    Priority: Major  (was: Critical)

> Processed html in templates are not valid for defined doctype
> -------------------------------------------------------------
>
>                 Key: TAP5-352
>                 URL: https://issues.apache.org/jira/browse/TAP5-352
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.16
>            Reporter: Jakub Stroleny
>
> When I have strict xhtml doctype
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> then meta, link and probably other tags are processed as non valid:
> In template source:
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> <meta http-equiv="Pragma" content="no-cache" />
> <meta http-equiv="Expires" content="-1"></meta>
> <link href="${request.contextPath}/default.css" rel="stylesheet" 
> type="text/css" />
> In browser:
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
> <meta http-equiv="Pragma" content="no-cache">
> <meta http-equiv="Expires" content="-1">
> <link href="${request.contextPath}/default.css" rel="stylesheet" 
> type="text/css">
> The end tag is totally missing, which is not valid for strict doctype. It 
> should support both notation: <meta name="description"></meta> and <meta 
> name="description" />
> Same problems can be in other elements. I'm saw some extra parameter 'shape', 
> which was added after template transformation in anchor element: <a 
> name="top" shape="rect"></a>.
> It can cause some invalidation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to