Loading ...
Sorry, an error occurred while loading the content.

Errors on filtering wurfl.xml

Expand Messages
  • Paschal Nee
    Hi, Just a heads up in case anybody else is trying to do this. I m only really using the WALL required tags + a few extra. So I went through the reference
    Message 1 of 2 , Feb 28, 2006
    • 0 Attachment
      Hi,

      Just a heads up in case anybody else is trying to do this.  I'm only really using the WALL required tags + a few extra.  So I went through the reference guide, pulled out the capabilities that the WALL tags rely on and filtered everything else out of the wurfl.xml (file goes from 3m to 1.5m!).

      However there are a few tags that are relied on by WALL but not documented (see errors from logs below)

      xhtmlmp_preferred_mime_type - used by 'document' tag
      access_key_support - used by 'a' tag
      model_name - used somewhere?
      brand_name - used somewhere?

      Docs should probably be updated to reflect this but the above should be useful to anybody else trying to do this.

      Thanks,
      Paschal.

      Error in WALL tag 'a': Invalid capability name:  access_key_supportError: javax.servlet.jsp.JspException: Invalid capability name:  access_key_support

      ERROR: capability model_name not defined in WURFL.(isCapabilityDefinedInDevice())
      ERROR: capability brand_name not defined in WURFL.(isCapabilityDefinedInDevice())


      javax.servlet.jsp.JspException: Error in WALL tag 'document': Invalid capability name:  xhtmlmp_pref
      erred_mime_type
              at net.sourceforge.wurfl.wall.WallDocument.doStartTag(Unknown Source)
              at org.apache.jsp.wall.form2_jsp._jspx_meth_wall_document_0(org.apache.jsp.wall.form2_jsp:116)
              at org.apache.jsp.wall.form2_jsp._jspService(org.apache.jsp.wall.form2_jsp:93)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
              at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
              at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
              at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
              at java.lang.Thread.run(Thread.java:595)

    • Luca Passani
      Thanks. I ll look into this for the next WALL release Luca
      Message 2 of 2 , Mar 3, 2006
      • 0 Attachment
        Thanks. I'll look into this for the next WALL release

        Luca

        Paschal Nee wrote:

        >Hi,
        >
        >Just a heads up in case anybody else is trying to do this. I'm only really
        >using the WALL required tags + a few extra. So I went through the reference
        >guide, pulled out the capabilities that the WALL tags rely on and filtered
        >everything else out of the wurfl.xml (file goes from 3m to 1.5m!).
        >
        >However there are a few tags that are relied on by WALL but not documented
        >(see errors from logs below)
        >
        >xhtmlmp_preferred_mime_type - used by 'document' tag
        >access_key_support - used by 'a' tag
        >model_name - used somewhere?
        >brand_name - used somewhere?
        >
        >Docs should probably be updated to reflect this but the above should be
        >useful to anybody else trying to do this.
        >
        >Thanks,
        >Paschal.
        >
        >Error in WALL tag 'a': Invalid capability name: access_key_supportError:
        >javax.servlet.jsp.JspException: Invalid capability name: access_key_support
        >
        >ERROR: capability model_name not defined in
        >WURFL.(isCapabilityDefinedInDevice())
        >ERROR: capability brand_name not defined in
        >WURFL.(isCapabilityDefinedInDevice())
        >
        >
        >javax.servlet.jsp.JspException: Error in WALL tag 'document': Invalid
        >capability name: xhtmlmp_pref
        >erred_mime_type
        > at net.sourceforge.wurfl.wall.WallDocument.doStartTag(Unknown
        >Source)
        > at org.apache.jsp.wall.form2_jsp._jspx_meth_wall_document_0(
        >org.apache.jsp.wall.form2_jsp:116)
        > at org.apache.jsp.wall.form2_jsp._jspService(
        >org.apache.jsp.wall.form2_jsp:93)
        > at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java
        >:97)
        > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        > at org.apache.jasper.servlet.JspServletWrapper.service(
        >JspServletWrapper.java:322)
        > at org.apache.jasper.servlet.JspServlet.serviceJspFile (
        >JspServlet.java:291)
        > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        >ApplicationFilterChain.java:252)
        > at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        >ApplicationFilterChain.java:173)
        > at org.apache.catalina.core.StandardWrapperValve.invoke(
        >StandardWrapperValve.java :213)
        > at org.apache.catalina.core.StandardContextValve.invoke(
        >StandardContextValve.java:178)
        > at org.apache.catalina.core.StandardHostValve.invoke(
        >StandardHostValve.java:126)
        > at org.apache.catalina.valves.ErrorReportValve.invoke (
        >ErrorReportValve.java:105)
        > at org.apache.catalina.core.StandardEngineValve.invoke(
        >StandardEngineValve.java:107)
        > at org.apache.catalina.connector.CoyoteAdapter.service(
        >CoyoteAdapter.java:148)
        > at org.apache.coyote.http11.Http11Processor.process(
        >Http11Processor.java:856)
        > at
        >org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
        >(Http11Protocol.java:744)
        > at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (
        >PoolTcpEndpoint.java:527)
        > at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
        >LeaderFollowerWorkerThread.java:80)
        > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
        >ThreadPool.java :684)
        > at java.lang.Thread.run(Thread.java:595)
        >
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.