Hi,

I have a mobile web application using the doctype <!DOCTYPE html PUBLIC
"-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">. On the first
page request the application hangs for several hours before it will send a
response. It used to only take several seconds (about 20 seconds), but I am
assuming something has happened in the cosmos causing the dtd not to
download correctly. If I remove this doctype and use a standard one then the
application works correctly (but doesn't render correctly in a mobile
browser).

So I have tried contributing to the template parser so it uses a local copy
of the DTD, but it doesn't seem to make any difference (I am assuming I am
not contributing it correctly). I am having a hard time finding any
documentation on this.

My code is:

      public static void
contributeTemplateParser(MappedConfiguration<String, URL> config)
      {
              config.add("-//WAPFORUM//DTD XHTML Mobile 1.0//EN",
AppModule.class.getResource("xhtml-mobile10.dtd"));
      }

I have put the dtd in the same folder as the AppModule class.

Any help would be appreciated.

Thanks, Ryan

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-Page-Doctype-Causing-Application-to-Hang-tp3445827p3445827.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to