Joe Chen wrote:
Hi,

2) When using <br/> , an addition attribute clear="none" is added. So:

<br/>

becomes

<br clear="none">

3) Probably the most annoying one, when using <a>, shape="rect" is
appended.  So:

<a href="">

becomes

<a href="" shape="rect">


For the record : in Tapestry 5.0.15 (don't know for other versions), these bugs are somewhat links to the doctype used. I met them with XHTML 1.0 Transitional, and they are gone with XHTML 1.0 strict. So, don't use: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

Use:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

They seems to be link to the SAX parser, so perhaps it's a combination of both the Doctype and the xerces version I use...

Hope it will allows other to don't spend 3 hours on that stupid problem.

--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
http://fanf42.blogspot.com
InterLDAP - http://interldap.org FederID - http://www.federid.org/
Open Source identities management and federation


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

Reply via email to