You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Christian Gorbach (JIRA)" <de...@tapestry.apache.org> on 2008/02/15 13:28:08 UTC

[jira] Created: (TAPESTRY-2166) Generated Markup should not omit xhtml end tags

Generated Markup should not omit xhtml end tags
-----------------------------------------------

                 Key: TAPESTRY-2166
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2166
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0.10
            Reporter: Christian Gorbach
            Priority: Minor
             Fix For: 5.0.11


It seems that the markup writer doesnt render correct end tags. This prevents Tapestry pages from being valid xhtml pages.

E.g.: the following template is xhtml valid  but the rendered page is not...(because several end tags are missing)

<?xml version="1.0" encoding="utf-8"?>
<!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"  xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> 
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<title>xhtml test</title>
</head>
	<body>
		valid xhtml? 
	</body>
</html>




-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Reopened: (TAPESTRY-2166) Generated Markup should not omit xhtml end tags

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reopened TAPESTRY-2166:
--------------------------------------------


> Generated Markup should not omit xhtml end tags
> -----------------------------------------------
>
>                 Key: TAPESTRY-2166
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2166
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.10
>            Reporter: Christian Gorbach
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.0.11
>
>
> It seems that the markup writer doesnt render correct end tags. This prevents Tapestry pages from being valid xhtml pages.
> E.g.: the following template is xhtml valid  but the rendered page is not...(because several end tags are missing)
> <?xml version="1.0" encoding="utf-8"?>
> <!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"  xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> 
> <head>
> 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
> 	<title>xhtml test</title>
> </head>
> 	<body>
> 		valid xhtml? 
> 	</body>
> </html>

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-2166) Generated Markup should not omit xhtml end tags

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2166.
------------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.0.11)

> Generated Markup should not omit xhtml end tags
> -----------------------------------------------
>
>                 Key: TAPESTRY-2166
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2166
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.10
>            Reporter: Christian Gorbach
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> It seems that the markup writer doesnt render correct end tags. This prevents Tapestry pages from being valid xhtml pages.
> E.g.: the following template is xhtml valid  but the rendered page is not...(because several end tags are missing)
> <?xml version="1.0" encoding="utf-8"?>
> <!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"  xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> 
> <head>
> 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
> 	<title>xhtml test</title>
> </head>
> 	<body>
> 		valid xhtml? 
> 	</body>
> </html>

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-2166) Generated Markup should not omit xhtml end tags

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2166.
------------------------------------------

    Resolution: Invalid
      Assignee: Howard M. Lewis Ship

This is controlled by the markup type used by the page.  For "text/html" a MarkupWriter that writes SGML HTML is used (not all tags are closed).

For any other markup type, an XML markup writer is used which will honor XML (not SGML) specifications.

The @ContentType annotation can be used on a page to set the content type; the MetaDataLocator service can be configured to apply changes throughout the application.

> Generated Markup should not omit xhtml end tags
> -----------------------------------------------
>
>                 Key: TAPESTRY-2166
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2166
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.10
>            Reporter: Christian Gorbach
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.0.11
>
>
> It seems that the markup writer doesnt render correct end tags. This prevents Tapestry pages from being valid xhtml pages.
> E.g.: the following template is xhtml valid  but the rendered page is not...(because several end tags are missing)
> <?xml version="1.0" encoding="utf-8"?>
> <!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"  xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> 
> <head>
> 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
> 	<title>xhtml test</title>
> </head>
> 	<body>
> 		valid xhtml? 
> 	</body>
> </html>

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org