[ 
https://issues.apache.org/jira/browse/TRINIDAD-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570422#action_12570422
 ] 

Piotr Steininger commented on TRINIDAD-922:
-------------------------------------------

I agree with the need for a different way of controlling the DOCTYPE. 
I spent about a day trying to make <tr:document> produce an XHTML doctype 
rather than HTML 4.01. The solution was to set the contentType attribute of 
<f:view> to "text/xml" or "text/html+xml". That however caused the browser (IE 
6 and FF2.0 alike) not to render the page at all, but rather try to save it. So 
there was no win.

In the end I settled for the HTML doctype. So this proves that the mechanism is 
not right and should be changed. Perhaps there could be an attribute for 
<tr:document>



> Add a switch to <tr:document> allowing to generate XHTML STRICT or 
> TRANSITIONAL DOCTYPE
> ---------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-922
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-922
>             Project: MyFaces Trinidad
>          Issue Type: New Feature
>            Reporter: Paul van Rossem
>
> Now always the default HTML DOCTYPE is output by the <tr:document> tag. This 
> does not allow to validate the output as XHTML.

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

Reply via email to