Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12788

Missing http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd in the catalog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.Beta1
    • 4.0.0.Alpha2
    • jsf
    • Hide

      1. Import Seam2.3.0 jee6 mavenized example
      2. Notice the Error:

      Description	Resource	Path	Location	Type
      Referenced file contains errors (http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd).  For more information, right click on the message in the Problems View and select "Show Details..."	faces-config.xml	/jee6-web/src/main/webapp/WEB-INF	line 1	XML Problem
      
      Show
      1. Import Seam2.3.0 jee6 mavenized example 2. Notice the Error: Description Resource Path Location Type Referenced file contains errors (http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd). For more information, right click on the message in the Problems View and select "Show Details..." faces-config.xml /jee6-web/src/main/webapp/WEB-INF line 1 XML Problem
    • Workaround Exists
    • Hide

      1. Copy the web-facesconfig_2_1.xsd from the JSF 2.1 spec to

      org.jboss.tools.jst.web_3.4.0.Alpha2-v20120922-0117-B32.jar/catalog/web-facesconfig_2_1.xsd

      2. Add the following stanza to org.jboss.tools.jst.web_3.4.0.Alpha2-v20120922-0117-B32.jar/plugin.xml inside the <catalogContribution id="default"> element

      <uri name="http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd" 
       uri="platform:/plugin/org.jboss.tools.jst.web/catalog/web-facesconfig_2_1.xsd" />
      
      Show
      1. Copy the web-facesconfig_2_1.xsd from the JSF 2.1 spec to org.jboss.tools.jst.web_3.4.0.Alpha2-v20120922-0117-B32.jar/catalog/web-facesconfig_2_1.xsd 2. Add the following stanza to org.jboss.tools.jst.web_3.4.0.Alpha2-v20120922-0117-B32.jar/plugin.xml inside the <catalogContribution id="default"> element <uri name= "http: //java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd" uri= "platform:/plugin/org.jboss.tools.jst.web/catalog/web-facesconfig_2_1.xsd" />

    Description

      The http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd from JSF 2.1 does not appear to be in the catalog, which causes a JSF 2.1 faces-config.xml to generate XML validation problems, as java.sun.com doesn't serve this file either:

      Referenced file contains errors (http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd).
      

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: