My mistake, I was attempting to declare the component in the library without a 
jwc file.
 
Kris

----- Original Message ----
From: Kris Rasmussen <[EMAIL PROTECTED]>
To: tapestry-user@jakarta.apache.org
Sent: Saturday, April 22, 2006 7:37:41 PM
Subject: eclipse tapestry 4.0 and WTP doctype issue?


I finally made the move to tapestry 4.0, and am having some problems with 
template parsing. It appears Xerces does not like my component templates 
because they do not have a DOCTYPE declared. The error I get is...

Document root element "html", must match DOCTYPE root "null". I tried declaring 
a doctype and got a different error about public private something, but I 
shouldn't have declare on anyways since the html component is already spitting 
one out.

My Component Template looks like...
<html jwcid="@Shell">
<body jwcid="@Body">
<span jwcid="@RenderBody"/>
</body>
</html>

I do not get the error for pages defined in WEB-INF, only components in 
libraries on the class path.

I'm sure their is something silly with my setup but I can't see to figure out 
what it is. I am running eclipse with wtp and tapestry 4.0. Does anyone know 
how I can fix this?

Thanks,
Kris

Reply via email to