Thanks Kris

----- Original Message ----
From: Kristian Marinkovic <[EMAIL PROTECTED]>
To: Tapestry users <users@tapestry.apache.org>
Sent: Monday, 28 April, 2008 2:06:08 PM
Subject: re: XHTML DTD/Schemas in T5

this is what i do:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; 
    xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

and i have my *.tml files associated with the HTML content-type to use the 
HTML
editor

g
kris




Toby Hobson <[EMAIL PROTECTED]> 
28.04.2008 14:31
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
users@tapestry.apache.org
Kopie

Thema
XHTML DTD/Schemas in T5






Hi

I hope someone can point me in the right direction here. I've hit a minor 
problem re: T5 templates: I am using eclipse to develop my templates and I 
have set the .tml extension to open in the xml editor which is great BUT 
I've now got myself in a bit of a mess because I'm trying to use the 
tapestry and xhtml schemas/DTDs together. If I specify an xhtml dtd or 
schema eclipse complains because xhtml spec doesn't allow tapestry tags. 
But I need to use an xhtml dtd because I'm using html entities. Here's an 
example of the problem:

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


Eclipse complains about the t attribute.

This is not a major problem because the code does run, it would just be 
nice to be able to use the xml validator in eclipse. Has anyone come up 
with any tricks to deal with this sort of problem? I've tried using xhtml 
schemas as well but I'm hitting the same wall

Thanks

Toby





Reply via email to