You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jan Vissers <Ja...@cumquat.nl> on 2008/04/15 10:01:13 UTC
Tapestry 5 - doesn't generate valid XHTML
Hi,
Is this a known issue? For instance the following link is rendered by
T5:
<link href="assets/tapestry/default.css" rel="stylesheet"
type="text/css">
The element isn't closed. There are more similar cases.
Thx,
-J.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5 - doesn't generate valid XHTML
Posted by Francois Armand <fa...@linagora.com>.
Christian Gorbach wrote:
> yep, this is mainly an IE flaw. IMHO tapestry should use the xmlModel
> as the default model. (or use a mapped config for model selection..)
> check
> http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MarkupWriterFactoryImpl.java?view=log
>
>
Thank you Christian for your tutorial that explains how to set XHTML as
the default : http://wiki.apache.org/tapestry/Tapestry5HowToXhtml
I put the link here for history (and mailing list archive search ;)
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org
FederID - http://www.federid.org/
Open Source identities management and federation
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5 - doesn't generate valid XHTML
Posted by Jan Vissers <Ja...@cumquat.nl>.
When I apply text/xhtml my browser issues a 'File download' dialog.
-J.
On Tue, 2008-04-15 at 07:38 -0700, Fernando Padilla wrote:
> application/xhtml+xml
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5 - doesn't generate valid XHTML
Posted by Fernando Padilla <fe...@alum.mit.edu>.
Has anyone tried "text/xhtml"?
I don't remember ever using the "application/xhtml+xml" mimetype, but I
haven't done xhtml in a while.
Christian Gorbach wrote:
> Francois Armand schrieb:
>> Christian Gorbach wrote:
>>> there's an annotation which can be applied to page classes.
>>> @ContentType("application/xhtml+xml")
>>> unfortunately: IE does not render pages using this content type...
>>>
>>> @see
>>> https://issues.apache.org/jira/browse/TAPESTRY-2166
>>>
>> The bug you point out is not the bug with, IE, wich a bug : it's quite
>> a major problem to can't be able to render "valid" HTML in IE, which
>> is the case if IE does not render page with "application/xhtml+xml"
>> type (and it's the case, see (for example):
>> http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx), and if page
>> with content type set to "text/html" are not valid xhtml.
>>
>> I don't find this bug reported, but I'm quite sure that Christian
>> already talked about that in the ml. Christian, does this remind you
>> someting ?
>>
> yep, this is mainly an IE flaw. IMHO tapestry should use the xmlModel as
> the default model. (or use a mapped config for model selection..)
> check
> http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MarkupWriterFactoryImpl.java?view=log
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5 - doesn't generate valid XHTML
Posted by Christian Gorbach <go...@gmx.at>.
Francois Armand schrieb:
> Christian Gorbach wrote:
>> there's an annotation which can be applied to page classes.
>> @ContentType("application/xhtml+xml")
>> unfortunately: IE does not render pages using this content type...
>>
>> @see
>> https://issues.apache.org/jira/browse/TAPESTRY-2166
>>
> The bug you point out is not the bug with, IE, wich a bug : it's quite
> a major problem to can't be able to render "valid" HTML in IE, which
> is the case if IE does not render page with "application/xhtml+xml"
> type (and it's the case, see (for example):
> http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx), and if page
> with content type set to "text/html" are not valid xhtml.
>
> I don't find this bug reported, but I'm quite sure that Christian
> already talked about that in the ml. Christian, does this remind you
> someting ?
>
yep, this is mainly an IE flaw. IMHO tapestry should use the xmlModel as
the default model. (or use a mapped config for model selection..)
check
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MarkupWriterFactoryImpl.java?view=log
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5 - doesn't generate valid XHTML
Posted by Francois Armand <fa...@linagora.com>.
Christian Gorbach wrote:
> there's an annotation which can be applied to page classes.
> @ContentType("application/xhtml+xml")
> unfortunately: IE does not render pages using this content type...
>
> @see
> https://issues.apache.org/jira/browse/TAPESTRY-2166
>
The bug you point out is not the bug with, IE, wich a bug : it's quite a
major problem to can't be able to render "valid" HTML in IE, which is
the case if IE does not render page with "application/xhtml+xml" type
(and it's the case, see (for example):
http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx), and if page
with content type set to "text/html" are not valid xhtml.
I don't find this bug reported, but I'm quite sure that Christian
already talked about that in the ml. Christian, does this remind you
someting ?
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org
FederID - http://www.federid.org/
Open Source identities management and federati
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5 - doesn't generate valid XHTML
Posted by Christian Gorbach <ch...@gmx.at>.
there's an annotation which can be applied to page classes.
@ContentType("application/xhtml+xml")
unfortunately: IE does not render pages using this content type...
@see
https://issues.apache.org/jira/browse/TAPESTRY-2166
c)hristian
> I'm aware this issue has been bouncing around the forums for a while. This
> is becoming quite a live issue for my organisation as we are planning to go
> live with a major T5 site in June. Our SEO people tell us that having well
> formed xhtml is becoming very important for the rankings algorithms.
>
>
> Jan Vissers wrote:
>
>> Hi,
>>
>> Is this a known issue? For instance the following link is rendered by
>> T5:
>>
>> <link href="assets/tapestry/default.css" rel="stylesheet"
>> type="text/css">
>>
>> The element isn't closed. There are more similar cases.
>>
>> Thx,
>> -J.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tapestry 5 - doesn't generate valid XHTML
Posted by TonyTheFish <to...@gamesys.co.uk>.
I'm aware this issue has been bouncing around the forums for a while. This
is becoming quite a live issue for my organisation as we are planning to go
live with a major T5 site in June. Our SEO people tell us that having well
formed xhtml is becoming very important for the rankings algorithms.
Jan Vissers wrote:
>
> Hi,
>
> Is this a known issue? For instance the following link is rendered by
> T5:
>
> <link href="assets/tapestry/default.css" rel="stylesheet"
> type="text/css">
>
> The element isn't closed. There are more similar cases.
>
> Thx,
> -J.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Tapestry-5---doesn%27t-generate-valid-XHTML-tp16697298p16698838.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org