ICEfaces
  1. ICEfaces
  2. ICE-10437

faces-config files are not valid

    Details

      Description

      The following two files are not following the xsd:
      ./ace/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
      ./mobi/component/resources/icefaces.mobi/META-INCLUDE/faces-config.xml

      Element 'after' cannot have character [children], because the type's content type is element-only.

      Basically, the 'after' tag must contain either a 'name' tag or an 'others' tag, but cannot simply name the document that it wants to refer to.

      So instead of '<after>ICEfacesCore</after>' you should probably have '<after><name>ICEfacesCore</name></after>'.

        Activity

        Hide
        Vernon Singleton added a comment -

        You will probably also want to update the faces-config files to refer to http://java.sun.com/xml/ns/javaee/web-facesconfig_2_2.xsd instead of http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd, since you are requiring folks to use jsf-2.2 with icefaces4.

        The above validation issues were found when using: http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd

        Show
        Vernon Singleton added a comment - You will probably also want to update the faces-config files to refer to http://java.sun.com/xml/ns/javaee/web-facesconfig_2_2.xsd instead of http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd , since you are requiring folks to use jsf-2.2 with icefaces4. The above validation issues were found when using: http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd
        Hide
        Judy Guglielmin added a comment -

        confirmed ordering use with http://docs.oracle.com/javaee/6/tutorial/doc/bnawp.html
        rev 43886

        Show
        Judy Guglielmin added a comment - confirmed ordering use with http://docs.oracle.com/javaee/6/tutorial/doc/bnawp.html rev 43886

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Vernon Singleton
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: