The problem is particularly evident with:
<link rel="stylesheet" href="${style}" type="text/css"/>
The resulting HTML document contains only:
<link rel="stylesheet" href="${style}" type="text/css"> (no slash!)
I have tried it with no DOCTYPE declaration and with an XHTML 1.0 Strict
declaration and in both cases I get the same result.
I am not using the class CSS annotation because it doesn't meet project
requirements.
Any ideas?
-----Original Message-----
From: Francois Armand [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2008 8:44 AM
To: Tapestry users
Subject: Re: [T5] Unclosed empty HTML tags (bug?)
Gabriel Rodriguez wrote:
> When Tapestry 5 produces HTML from my TMLs it's removing the "/" from the end
> of my empty tags, leaving them unclosed and causing rendering problems on the
> browser. Is this by design? Is there a setting that needs to be changed?
>
What exactly is your problem, on which tags ?
If your problem is linked to unclosed <li>, <br>, (so, Tapestry
produce HTML 4 compatible markups), and if you want to produce valid
XHTML, you will have to set-up Doctype according to
http://tapestry.apache.org/tapestry5/guide/templates.html (Template
Doctypes )
BUT, you may hit https://issues.apache.org/jira/browse/TAP5-263 and want
to look to http://wiki.apache.org/tapestry/Tapestry5HowToXhtml
If it's something else, it may actually be a new bug :)
Hope it will help,
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]