I believe you just need to add the namespace to an outer element...
for instance in a page you might have

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

Josh

On Jan 24, 2008 2:35 PM, Franz Amador <[EMAIL PROTECTED]> wrote:

> I'm hoping someone can tell me how to configure Eclipse so it doesn't
> complain about the "t:" items in a .tml file that has a DOCTYPE.  For
> example, this file (Start.tml):
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
>
>
>  <head>
>    <title>${message:page-title}</title>
>  </head>
>  <body>
>    <h1>${message:page-title}</h1>
>    <a t:type="actionlink" t:id="logout">Logout</a>
>  </body>
> </html>
>
> If I remove the DOCTYPE block, Eclipse is happy (properly speaking,
> Eclipse's XML editor), but when I add it, I get complaints about all the
> "t:" entries.  The "xmlns:t" attribute, for example, gets this complaint:
>
>    Attribute "xmlns:t" must be declared for element type "html".
>
> Do other people see this?  Is there actually something wrong with the
> file, or do I have Eclipse misconfigured?  Thanks!
>
>
>


-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

Reply via email to