Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7689

Update web.xml to Servlet 3.1 use correct JSF 2.2 schema in faces-config.xml

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 7.0.0
    • Fix Version/s: EJBCA 7.0.0
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Another issue
    • Epic Link:
    • Sprint:
      EJBCA Team Bob - 2019 w2

      Description

      All web.xml should now with JEE7 be updated from

      <web-app version="3.0" id="..."
          metadata-complete="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xmlns="http://java.sun.com/xml/ns/javaee"
          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                              http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
      

      to

      <web-app version="3.1" id="..."
          metadata-complete="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xmlns="http://xmlns.jcp.org/xml/ns/javaee"
          xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
                              http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
      

      All faces-config.xml should now with JEE7 be updated from

      <faces-config version="2.0"
          metadata-complete="false"
          xmlns="http://java.sun.com/xml/ns/javaee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
                              http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">
      

      to

      <faces-config version="2.2"
          metadata-complete="false"
          xmlns="http://xmlns.jcp.org/xml/ns/javaee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee 
                              http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
      

      When no metadata-complete attribute is specified, we should clarify the default by specifying metadata-complete="false".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                johan Johan Eklund
                Reporter:
                johan Johan Eklund
                Verified by:
                Ulf Undmark
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: