Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2 Sprint 11
    • Fix Version/s: 2.2 Sprint 11 B
    • Component/s: Facelets/VDL
    • Labels:
      None

      Issue Links

        Activity

        Hide
        Ed Burns added a comment -

        Committed to trunk. Still need to backport to 2.1 branch, but without the whole "html5 is now the default" thing.

        M jsf-ri/src/main/java/com/sun/faces/facelets/compiler/SAXCompiler.java
        M jsf-ri/src/main/java/com/sun/faces/config/FaceletsConfiguration.java
        M jsf-ri/systest/web/WEB-INF/faces-config.xml
        M jsf-test/build.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082Html5DoctypeTestCase.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082TestCaseBase.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082HtmlDoctypeTestCase.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/resources
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/pom.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/i_2353_xhtml_using.xhtml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/faces-config.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/beans.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/web.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/pom.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces/test
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/i_2353_using.xhtml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/WEB-INF
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/WEB-INF/beans.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/WEB-INF/web.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/pom.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/build.xml
        Rhombus2:i_mojarra_2353 ejburns$ svncom
        Sending jsf-ri/src/main/java/com/sun/faces/config/FaceletsConfiguration.java
        Sending jsf-ri/src/main/java/com/sun/faces/facelets/compiler/SAXCompiler.java
        Sending jsf-ri/systest/web/WEB-INF/faces-config.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/build.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/pom.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082Html5DoctypeTestCase.java
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082HtmlDoctypeTestCase.java
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082TestCaseBase.java
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/resources
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/pom.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces/test
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/WEB-INF
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/WEB-INF/beans.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/WEB-INF/web.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/i_2353_using.xhtml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/pom.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/beans.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/faces-config.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/web.xml
        Adding jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/i_2353_xhtml_using.xhtml
        Sending jsf-test/build.xml
        Transmitting file data ....................
        Committed revision 9780.

        http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1082 http://java.net/jira/browse/JAVASERVERFACES-2353

        Make HTML5 the default doctype for Facelets files.

        SECTION: Modified Files
        ----------------------------
        M preface.fm

        Point to changes for JAVASERVERFACES_SPEC_PUBLIC-548.

        Point to changes for JAVASERVERFACES_SPEC_PUBLIC-1082. Specifically, a new column
        in Appendix A, table 1-1.

        M appendixA-metadata.fm

        New column for html5, which is now the default DOCTYPE of the files
        sent down to the user-agent.

        M requestProcessingLifecycle.fm

        Accept cross reference for JAVASERVERFACES_SPEC_PUBLIC-548.

        M jsf-ri/src/main/java/com/sun/faces/facelets/compiler/SAXCompiler.java
        M jsf-ri/src/main/java/com/sun/faces/config/FaceletsConfiguration.java

        If the process-as is html5 (the default) don't pass through the extra declarations
        on the doctype, which are required on the server, but not wanted on the user-agent.

        M jsf-ri/systest/web/WEB-INF/faces-config.xml

        Turn back on the old, non-html5 behavior.

        M jsf-test/build.xml

        Add new testcase.

        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082Html5DoctypeTestCase.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082TestCaseBase.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082HtmlDoctypeTestCase.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/src/main/resources
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_htmlunit/pom.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/i_2353_xhtml_using.xhtml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/faces-config.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/beans.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/web.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_xhtml_war/pom.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces/test
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/i_2353_using.xhtml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/WEB-INF
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/WEB-INF/beans.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/src/main/webapp/WEB-INF/web.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/i_spec_1082_war/pom.xml
        A jsf-test/JAVASERVERFACES_SPEC_PUBLIC-1082/build.xml

        Show
        Ed Burns added a comment - Committed to trunk. Still need to backport to 2.1 branch, but without the whole "html5 is now the default" thing. M jsf-ri/src/main/java/com/sun/faces/facelets/compiler/SAXCompiler.java M jsf-ri/src/main/java/com/sun/faces/config/FaceletsConfiguration.java M jsf-ri/systest/web/WEB-INF/faces-config.xml M jsf-test/build.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082Html5DoctypeTestCase.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082TestCaseBase.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082HtmlDoctypeTestCase.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/resources A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/pom.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/i_2353_xhtml_using.xhtml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/faces-config.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/beans.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/web.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/pom.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces/test A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/i_2353_using.xhtml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/WEB-INF A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/WEB-INF/beans.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/WEB-INF/web.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/pom.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /build.xml Rhombus2:i_mojarra_2353 ejburns$ svncom Sending jsf-ri/src/main/java/com/sun/faces/config/FaceletsConfiguration.java Sending jsf-ri/src/main/java/com/sun/faces/facelets/compiler/SAXCompiler.java Sending jsf-ri/systest/web/WEB-INF/faces-config.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /build.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/pom.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082Html5DoctypeTestCase.java Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082HtmlDoctypeTestCase.java Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082TestCaseBase.java Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/resources Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/pom.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces/test Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/WEB-INF Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/WEB-INF/beans.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/WEB-INF/web.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/i_2353_using.xhtml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/pom.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/beans.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/faces-config.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/web.xml Adding jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/i_2353_xhtml_using.xhtml Sending jsf-test/build.xml Transmitting file data .................... Committed revision 9780. http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1082 http://java.net/jira/browse/JAVASERVERFACES-2353 Make HTML5 the default doctype for Facelets files. SECTION: Modified Files ---------------------------- M preface.fm Point to changes for JAVASERVERFACES_SPEC_PUBLIC-548 . Point to changes for JAVASERVERFACES_SPEC_PUBLIC-1082 . Specifically, a new column in Appendix A, table 1-1. M appendixA-metadata.fm New column for html5, which is now the default DOCTYPE of the files sent down to the user-agent. M requestProcessingLifecycle.fm Accept cross reference for JAVASERVERFACES_SPEC_PUBLIC-548 . M jsf-ri/src/main/java/com/sun/faces/facelets/compiler/SAXCompiler.java M jsf-ri/src/main/java/com/sun/faces/config/FaceletsConfiguration.java If the process-as is html5 (the default) don't pass through the extra declarations on the doctype, which are required on the server, but not wanted on the user-agent. M jsf-ri/systest/web/WEB-INF/faces-config.xml Turn back on the old, non-html5 behavior. M jsf-test/build.xml Add new testcase. A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082Html5DoctypeTestCase.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082TestCaseBase.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/java/com/sun/faces/test/i_spec_1082_htmlunit/Issue1082HtmlDoctypeTestCase.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/src/main/resources A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_htmlunit/pom.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/i_2353_xhtml_using.xhtml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/faces-config.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/beans.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/src/main/webapp/WEB-INF/web.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_xhtml_war/pom.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces/test A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/java/com/sun/faces/test/i_spec_1082_war/UserBean.java A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/i_2353_using.xhtml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/WEB-INF A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/WEB-INF/beans.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/src/main/webapp/WEB-INF/web.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /i_spec_1082_war/pom.xml A jsf-test/ JAVASERVERFACES_SPEC_PUBLIC-1082 /build.xml
        Hide
        Ed Burns added a comment -

        JAVASERVERFACES-2453 has shown the need for more work on this issue.

        Show
        Ed Burns added a comment - JAVASERVERFACES-2453 has shown the need for more work on this issue.
        Hide
        Ed Burns added a comment -

        I propose adding the following text to the RenderKit spec for
        javax.faces.Outputjavaxfaces.Doctype (and thus <h:doctype>):

        No relocation occurs with the output of this component. It is
        rendered at whatever position in the view hierarchy it happens to be
        encountered when traversing the view to render. Therefore, this
        component must be located in the view hierarchy at the correct
        location so that the final rendered markup has it in the proper place
        with respect to the user agent that consumes the rendered markup. In
        practice this means in front of the <html> or <h:html> element.
        Furthermore, if multiple <h:doctype> components exist, all of them
        will be rendered, which is not correct for any user agent.

        If this component is present in a view, any DOCTYPE that would
        otherwise have been rendered by virtue of being present in the VDL
        page must be ignored.

        I propose adding a new section to the facelets chapter in the spec prose
        document (chapter 10 in the latest version), within the section "General
        Requirements".

        10.3.1.1 DOCTYPE and XML Declaration

        When processing Facelet VDL files, the system must ensure that at most
        one XML declaration and at most one DOCTYPE declaration appear in the
        rendered markup, if and only if there is corresponding markup in the
        Facelet VDL files for those elements. If multiple occurrences of XML
        declaration and DOCTYPE declaration are encountered when processing
        Facelet VDL files, the "outer-most" occurrence is the one that must be
        rendered. If an XML declaration is present, it must be the very first
        markup rendered, and it must precede any DOCTYPE declaration (if
        present). The output of the XML and DOCTYPE declarations are subject
        to the configuration options listed in the table titled "Valid
        <process-as> values and their implications on the processing of
        Facelet VDL files" in the appendix titled "JSF Metadata".

        Show
        Ed Burns added a comment - I propose adding the following text to the RenderKit spec for javax.faces.Outputjavaxfaces.Doctype (and thus <h:doctype>): No relocation occurs with the output of this component. It is rendered at whatever position in the view hierarchy it happens to be encountered when traversing the view to render. Therefore, this component must be located in the view hierarchy at the correct location so that the final rendered markup has it in the proper place with respect to the user agent that consumes the rendered markup. In practice this means in front of the <html> or <h:html> element. Furthermore, if multiple <h:doctype> components exist, all of them will be rendered, which is not correct for any user agent. If this component is present in a view, any DOCTYPE that would otherwise have been rendered by virtue of being present in the VDL page must be ignored. I propose adding a new section to the facelets chapter in the spec prose document (chapter 10 in the latest version), within the section "General Requirements". 10.3.1.1 DOCTYPE and XML Declaration When processing Facelet VDL files, the system must ensure that at most one XML declaration and at most one DOCTYPE declaration appear in the rendered markup, if and only if there is corresponding markup in the Facelet VDL files for those elements. If multiple occurrences of XML declaration and DOCTYPE declaration are encountered when processing Facelet VDL files, the "outer-most" occurrence is the one that must be rendered. If an XML declaration is present, it must be the very first markup rendered, and it must precede any DOCTYPE declaration (if present). The output of the XML and DOCTYPE declarations are subject to the configuration options listed in the table titled "Valid <process-as> values and their implications on the processing of Facelet VDL files" in the appendix titled "JSF Metadata".

          People

          • Assignee:
            Ed Burns
            Reporter:
            Ed Burns
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 3 hours
              3h
              Remaining:
              Time Spent - 1 hour, 55 minutes Remaining Estimate - 1 hour, 5 minutes
              1h 5m
              Logged:
              Time Spent - 1 hour, 55 minutes Remaining Estimate - 1 hour, 5 minutes
              1h 55m