2 Replies Latest reply on Nov 3, 2016 2:12 AM by Jesper Skov

    Bug in jboss-ejb3-spec-2_0.xsd - take 2

    Jesper Skov Newbie

      Sorry, posted nonsense research before.

       

      We have a problem with an faces-config.xml causing problems when jbosstools plugin is installed.

      The XML file is not for a JBoss project, but we would like to use the same eclipse installation.

       

       

      The file in question looks like:

       

       

      <?xml version='1.0' encoding='UTF-8'?>

      <faces-config

          xmlns="http://java.sun.com/xml/ns/javaee"

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          version="2.0">

       

          <lifecycle>

              <!-- toogle if needed

              <phase-listener>dk.jyskebank.portletfaces.jsf.lifecycle.DebugPhaseListener</phase-listener>

              -->

              <phase-listener>dk.jyskebank.portletfaces.jsf.lifecycle.InitPagePhaseListener</phase-listener>

          </lifecycle>

          

           <!-- Enable this for HTML5 attributes support -->

          <factory>

              <render-kit-factory>dk.jyskebank.portletfaces.renderkit.Html5RenderKitFactory</render-kit-factory>

          </factory>

         

          <application>

              <el-resolver>

                  org.springframework.web.jsf.el.SpringBeanFacesELResolver

              </el-resolver>

          </application>

       

      </faces-config>

       

       

      With latest nightly build of jbosstools, it causes a validation error:

       

      jboss-ejb3-spec-2_0.xsd:

      src-resolve: Cannot resolve the name 'jboss:enterprise-beans' to a(n) 'element declaration' component, line 128.

       

       

       

      Thanks,

      Jesper