Re: [T5.1] Doctype disappearing when deployed on production server

2009-01-05 Thread Joost Schouten (mailing lists)
Ok, after a few weeks of ignoring the problem I git back to it and
managed to fix it. It turned out to be completely Tapestry unrelated.
Resin contributes its own XMLReader which seems to completely ignore
DOCTYPE's. Making Resin use xerces in stead by adding this system
property to the resin conf fixed it.



That only took me about 2 months ;-)
Cheers,
Joost

On Mon, Dec 15, 2008 at 12:18 AM, Howard Lewis Ship  wrote:
> This is an odd one; I'm not aware of any changes between 5.0 and 5.1
> that could account for this.
>
> On Sun, Dec 14, 2008 at 6:30 AM, Joost Schouten (mailing lists)
>  wrote:
>> 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:
>>
>> > "http://www.w3c.org/TR/html4/loose.dtd";>
>> 
>> 
>> test page
>> 
>> test page
>> 
>>
>> the resulting html:
>> 
>> 
>> > rel="stylesheet" type="text/css">
>> test page
>> 
>> test page
>> 
>>
>> 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)
>>  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):
>>>
>>> >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>>> 
>>>${title}
>>> 
>>> 
>>>
>>> 
>>> 
>>>
>>> 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
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

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



Re: [T5.1] Doctype disappearing when deployed on production server

2008-12-14 Thread Howard Lewis Ship
This is an odd one; I'm not aware of any changes between 5.0 and 5.1
that could account for this.

On Sun, Dec 14, 2008 at 6:30 AM, Joost Schouten (mailing lists)
 wrote:
> 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:
>
>  "http://www.w3c.org/TR/html4/loose.dtd";>
> 
> 
> test page
> 
> test page
> 
>
> the resulting html:
> 
> 
>  rel="stylesheet" type="text/css">
> test page
> 
> test page
> 
>
> 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)
>  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):
>>
>> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>> 
>>${title}
>> 
>> 
>>
>> 
>> 
>>
>> 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
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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



Re: [T5.1] Doctype disappearing when deployed on production server

2008-12-14 Thread Joost Schouten (mailing lists)
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:

http://www.w3c.org/TR/html4/loose.dtd";>


test page

test page


the resulting html:



test page

test page


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)
 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):
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> 
>${title}
> 
> 
>
> 
> 
>
> 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



[T5.1] Doctype disappearing when deployed on production server

2008-12-10 Thread Joost Schouten (mailing lists)
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):

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

${title}






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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]