use

 <f:view contentType="text/xml">

to force xhtml content type, to be rendered.

but be aware of the issues matthias mentioned.

https://issues.apache.org/jira/browse/TRINIDAD-1152
https://issues.apache.org/jira/browse/TRINIDAD-1139
https://issues.apache.org/jira/browse/TRINIDAD-818

you probably want to vote for it to get it done. perhaps you want to fix it.

sincerely,
burghard.

Am 06.08.2008 um 05:11 schrieb Ray Clough:


Am I correct that Trinidad does not output, and cannot be forced to output
valid xhtml?  I am using Trinidad 1.2.8 with Facelets.  Using the
tr:document tag with mode="strict" still only outputs HTML 4, with a strict mode html 4 dtd. The same is true trying trh:html. The doctype is not xhtml, and the meta and link tags are not closed. There are probably other
deviations from xhtml, but these are the ones I've noticed first.

Thanks,
Ray Clough
[EMAIL PROTECTED]

--
View this message in context: 
http://www.nabble.com/trinidad-xhtml-compliance-tp18843548p18843548.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Reply via email to