Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: EE-4.0.0.GA, 4.1
-
Component/s: ACE-Components, MOBI-Components
-
Labels:None
-
Environment:all
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>'.
./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>'.
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