Trinidad doesn't support generating STRICT XHTML. Please, add support for it
----------------------------------------------------------------------------

                 Key: ADFFACES-115
                 URL: http://issues.apache.org/jira/browse/ADFFACES-115
             Project: MyFaces ADF-Faces
          Issue Type: New Feature
         Environment: all
            Reporter: Mikhail Grushinskiy
            Priority: Minor


Trinidad doesn't support generating STRICT XHTML. Please, add this support.
JSP page starting with the following definition

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.0"
        xmlns="http://www.w3.org/1999/xhtml";
        xmlns:f="http://java.sun.com/jsf/core";
        xmlns:tr="http://myfaces.apache.org/trinidad";
        xmlns:trh="http://myfaces.apache.org/trinidad/html";>
    <jsp:directive.page contentType="application/xhtml+xml;charset=utf-8" />
    <jsp:output
        omit-xml-declaration="false"
        doctype-root-element="xhtml"
        doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
        doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>    
        <f:view>
                <tr:document title=

causes Trinidad to produce bad HTML:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xhtml PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";><!-- Start: 
org.apache.myfaces.trinidad.Document["_idJsp0"] --><html 
xmlns="http://www.w3.org/1999/xhtml"; dir="ltr" xml:lang="en">
  <head>
    <title>Home Page</title>
      
    <meta name="generator" content="Oracle ADF Faces"></meta>
      
NOTE: there are 2 DOCTYPE entries



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to