Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces 2 Eclipse
-
ICEsoft Forum Reference:
-
Affects:Sample App./Tutorial
Description
The faces-config.xml files that we include are not properly valid with some IDEs and app servers. The following file:
/icefaces-2.0.0-alpha2/core/src/main/resources/META-INF/faces-config.xml
Has this element:
<name>ICEfaces core</name>
And this file:
/icefaces-2.0.0-alpha2/compat/core/build.javascript.xml
References the name like this:
<ordering>
<before>
<name>ICEfaces core</name>
</before>
</ordering>
Eclipse indicates that the XML Schema for javaee:java-identifierType doesn't permit spaces. Also:
<render-kit>
<render-kit-class>com.icesoft.faces.component.CompatDOMRenderKit</render-kit-class>
</render-kit>
produces the following error for a user with Eclipse:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'render-kit'. One of '{"http://
java.sun.com/xml/ns/javaee":action-listener, "http://java.sun.com/xml/ns/javaee":default-render-kit-id, "http://
java.sun.com/xml/ns/javaee":message-bundle, "http://java.sun.com/xml/ns/javaee":navigation-handler, "http://
java.sun.com/xml/ns/javaee":view-handler, "http://java.sun.com/xml/ns/javaee":state-manager, "http://
java.sun.com/xml/ns/javaee":el-resolver, "http://java.sun.com/xml/ns/javaee":property-resolver, "http://
java.sun.com/xml/ns/javaee":variable-resolver, "http://java.sun.com/xml/ns/javaee":resource-handler, "http://
java.sun.com/xml/ns/javaee":system-event-listener, "http://java.sun.com/xml/ns/javaee":locale-config, "http://
java.sun.com/xml/ns/javaee":resource-bundle, "http://java.sun.com/xml/ns/javaee":application-extension,
"http://java.sun.com/xml/ns/javaee":default-validators}' is expected.
/icefaces-2.0.0-alpha2/core/src/main/resources/META-INF/faces-config.xml
Has this element:
<name>ICEfaces core</name>
And this file:
/icefaces-2.0.0-alpha2/compat/core/build.javascript.xml
References the name like this:
<ordering>
<before>
<name>ICEfaces core</name>
</before>
</ordering>
Eclipse indicates that the XML Schema for javaee:java-identifierType doesn't permit spaces. Also:
<render-kit>
<render-kit-class>com.icesoft.faces.component.CompatDOMRenderKit</render-kit-class>
</render-kit>
produces the following error for a user with Eclipse:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'render-kit'. One of '{"http://
java.sun.com/xml/ns/javaee":action-listener, "http://java.sun.com/xml/ns/javaee":default-render-kit-id, "http://
java.sun.com/xml/ns/javaee":message-bundle, "http://java.sun.com/xml/ns/javaee":navigation-handler, "http://
java.sun.com/xml/ns/javaee":view-handler, "http://java.sun.com/xml/ns/javaee":state-manager, "http://
java.sun.com/xml/ns/javaee":el-resolver, "http://java.sun.com/xml/ns/javaee":property-resolver, "http://
java.sun.com/xml/ns/javaee":variable-resolver, "http://java.sun.com/xml/ns/javaee":resource-handler, "http://
java.sun.com/xml/ns/javaee":system-event-listener, "http://java.sun.com/xml/ns/javaee":locale-config, "http://
java.sun.com/xml/ns/javaee":resource-bundle, "http://java.sun.com/xml/ns/javaee":application-extension,
"http://java.sun.com/xml/ns/javaee":default-validators}' is expected.
Activity
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Assignee Priority | P2 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta [ 10032 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #20615 | Thu Feb 11 17:14:11 MST 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/resources/META-INF/faces-config.xml
MODIFY /icefaces/scratchpads/glimmer/compat/samples/component-showcase/web/WEB-INF/faces-config.xml MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/resources/META-INF/faces-config.xml |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Affects | [Sample App./Tutorial] | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
We need to validate any and all of our included .xml files to ensure that they work with Eclipse.