ICEfaces
  1. ICEfaces
  2. ICE-8622

faces-config.xml 2.1 validation fails

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

          People

          • Assignee:
            Liming Wu
            Reporter:
            Liming Wu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: