0 Replies Latest reply on Apr 27, 2007 5:37 PM by Markus Kühle

    ajax4jsf, facelets 1.2 and jsf 1.2 doesn't work

    Markus Kühle Newbie

      Hi,

      on startup there is an SAXParseException which says that the content of element type "tag" is incomplete (it must match "(tag-name,handler-class?,(component|converter|validator|source))").

      This problem was also described in exadel forum two months ago (http://forum.exadel.com/viewtopic.php?p=18144) but not solved till now.

      I tested it today with JSF 1.2 Impl from Glassfish project, facelets 1.2 and ajax4jsf 1.1. Servlet Container is Tomcat 5.5.

      I had the same exception with my own created facelets tag library until i validate it against the dtd and correct the wrong definitions.

      First part of the exception:
      java.io.IOException: Error parsing [jar:file:/.../WEB-INF/lib/ajax4jsf-1.1.0.jar!/META-INF/a4j.taglib.xml]:
      at com.sun.facelets.config.TagLibraryConfig.create(TagLibraryConfig.java:417)
      at com.sun.facelets.config.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:438)
      at com.sun.facelets.webapp.WebAppConfig.initializeTagLibraries(WebAppConfig.java:100)
      at com.sun.facelets.webapp.WebAppConfig.(WebAppConfig.java:37)
      at com.sun.facelets.webapp.FaceletFilter.init(FaceletFilter.java:46)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)

      and the end:

      Caused by: org.xml.sax.SAXParseException: The content of element type "tag" is incomplete, it must match "(tag-name,handler-class?,(component|converter|validator|source))".
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
      ... 36 more

      Is it a special problem with current version of ajax4jsf?