Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 3.1
-
Fix Version/s: EE-3.0.0.GA_P01
-
Component/s: Tool Integrations
-
Labels:None
-
Environment:Eclipse 3.1
Description
The faces-config.xml for jsf 2.1 defined schemalocation as http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd
<faces-config 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_1.xsd"
version="2.1">
But actually http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd doesn't actually exist. This is why eclipse reports error. even though the error message is "Referenced file contains errors "
2.0 version from http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd exists and works.
The solution is:
-use 2.0 version
-use another source http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/web-facesconfig_2_1.xsd
They both work. But I wonder which one is better.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Now oracle has put http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd online. The validation error is gone.