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

Validation problem in faces-config.xml for JSF 2.2 projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Alpha1
    • 4.2.0.Alpha1
    • jsf
    • None

      1. Create a JSF 2.2 KickStart project (or a dynamic web project with JSF 2.2. facet).
      2. There is an error in problems view:
      Referenced file contains errors (file:/home/igels/Projects/jbt-4.0/contribution/jbosstools-jst/plugins/org.jboss.tools.jst.web/catalog/web-facesconfig_2_2.xsd). For more information, right click on the message in the Problems View and select "Show Details..."

      Is it a real problem in the web-facesconfig_2_2.xsd we bundle with JBT or maybe it's an upstream problem with WTP XML validation?

      BTW, http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd is already registered in XML Catalog by WTP. There is no need to keep our own version in XML Catalog:

      Entry element:		URI
      Location:			dtdsAndSchemas/web-facesconfig_2_2.xsd in jar file home/igels/Java/eclipse-4.3/workspace/designtime/contribution/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.jst.standard.schemas_1.2.100.v201305161752.jar
      URI:   				jar:file:/home/igels/Java/eclipse-4.3/workspace/designtime/contribution/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.jst.standard.schemas_1.2.100.v201305161752.jar!/dtdsAndSchemas/web-facesconfig_2_2.xsd
      Key type:			Namespace name
      Key:				http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd
      

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: