Hi

Contribute your DTD to the TemplateParserService :

See this extract of core code :

public static void contributeTemplateParser(MappedConfiguration<String, URL>
config)
    {
        // Any class inside the internal module would do. Or we could move
all these
        // files to o.a.t.services.

        Class c = UpdateListenerHubImpl.class;

        config.add("-//W3C//DTD XHTML 1.0 Strict//EN",
c.getResource("xhtml1-strict.dtd"));
...

Regards,
Christophe Cordenier.

2010/3/19 Klaus Kopruch <klaus.kopr...@materna.de>

>
> Hello *
>
> I want to use doctype
>
> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
> "http://www.wapforum.org/DTD/xhtml-mobile10.dtd";>
>
> in my tml files and have the problem in this case, that T5 cannot render
> the
> page because it cannot resolve the doctype. With doctype
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
>
> I've no problem because the DTD is in T5 jar.
>
> My question ist, how can I let T5 load
> http://www.wapforum.org/DTD/xhtml-mobile10.dtd from a local location, i.e.
> file system/jar/war?
>
> Does anybody has an idea?
>
> Thanks,
> Klaus
>
> --
> View this message in context:
> http://old.nabble.com/Resolving-DTDs-without-an-internet-connection-tp27950940p27950940.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
>
>


-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com

Reply via email to