Hi,

I'm still battling this problem and am absolutely lost for reasons why
this is happening. If someone is out there who give me some pointers
why the DOCTYPE might be dropped on resin and not on jetty, it would
be highly appreciated.

I setup a completely isolated webapp to test this single problem:
http://www.jsportal.com/doctest/start

The source Start.tml:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3c.org/TR/html4/loose.dtd";>
<html>
<head>
<title>test page</title>
</head>
<body>test page</body>
</html>

the resulting html:
<html>
<head>
<link href="assets/5.1.0.0-JS-SNAPSHOT/tapestry/default.css"
rel="stylesheet" type="text/css"></link>
<title>test page</title>
</head>
<body>test page</body>
</html>

Could it be a character encoding problem? If so, which piece of code
does any validation that might cut off the DOCTYPE?

Thanks very much,
Joost

On Wed, Dec 10, 2008 at 6:22 PM, Joost Schouten (mailing lists)
<joost...@jsportal.com> wrote:
> Hi,
>
> I've got the strange problem of my DOCTYPE disappearing when I depoly
> my war (using T5.1.0.0-SNAPSHOT) on a Fedora Core box running resin.
> Locally all is fine on OSX and jetty. They both run with
> tapestry.production-mode=false. The component defining the doctype
> (HtmlHeadBody.tml) is as follows (simplified):
>
> <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> <head>
>    <title>${title}</title>
> </head>
> <body>
>    <t:body/>
> </body>
> </html>
>
> Is this a tapestry setting I am missing or is there another problem
> playing here? Any clues would be highly appreciated.
>
> Regards and happy coding,
> Joost
>

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

Reply via email to