On Tue, 04 Jan 2011 15:14:00 -0200, Rich M <rich...@moremagic.com> wrote:

Hi,

Hi!

I searched through the mailing list and the last thread on this topic seems to date back to 2006. First, I'd like to know what the expected doctype is, is it XHTML 1.0 Transitional, XHTML 1.0 Strict, or something else?

Tapestry doesn't make any assuptions on the doctype. Tapestry can output HTML (default) or XML syntax documents.

Also, the best reference I've seen for using Layout components to structure a site is along the lines of having a Layout.tml start with a <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> tag, then all Templates using it also starting with <html t:type="Layout" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>. HTML Validation complains about nested <html> tags.

Tapestry templates are XML files and most HTML validation tools don't understand XML namespaces. Have you tried to find and use XHTML validators?

So I guess I'm partly wondering if W3C HTML Validation is achievable, or if I need to learn to distinguish the exceptions from my own issues?

You seem to be validating the templates themselves instead of the generated HTML.

I've got some CSS and HTML bugs I need to work through and the Web Design people helping me are throwing a fuss about the HTML and so on.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to