The most likely problem is that the XML schema is out of date or missing from the public URI. I can look into that, but you need to look into turning off those errors or warnings in Eclipse.
On 9/11/07, Robert A. Decker <[EMAIL PROTECTED]> wrote: > > Hi! Sorry to bug you - I've looked through the wiki at > tapestry.apache.org and haven't found anything that applies to my, > hopefully, simple situation... > > I'm a former WebObjects developer (yes, we still do WO internally at > PGP) that's been doing a lot of servlets lately and so I decided to > take a look at Tapestry after a lot of research in the MVC java space > (god, there's a lot of crap out there). So far Tapestry looks great > and I plan on converting some projects over to Tapestry. I look > forward to contributing - I'm a web-enabled-database-application > developer with almost 10 years of experience. > > I've gotten through the first section of the tutorial - the tutorial > runs and I'm able to confirm that I can change the text on-the-fly to > "A great day to learn Tapestry!". I haven't started the hi lo game yet. > > The reason I'm writing is that even though the tutorial runs just > fine, my Eclipse environment seems to be having some namespace > issues. I get an error on Start.html at the line: > xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" > > that states: "Error - Attribute "xmlns:t" must be declared for > element type html". > > This leads to a few other errors (e.g., at t:pagelin). Again though, > this doesn't affect running the app - only my Eclipse environment. > > Am I missing a package in my imports? My current imports in Maven2 > Dependencies are: > commons-codec-1.3.jar > commons-logging-1.0.4.jar > javassist-3.4.ga.jar > log4j-1.2.9.jar > tapestry-core-5.0.5.jar > testng-5.1-jdk15.jar > > Should I be importing faclets.jar or something like that? Nope, completely different technologies. If you'd like me to ask this in a mailing list I'll be glad to. > > Thanks, > R I've included my response to the mailing list. That is the correct forum. <html > xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" > > > <head> > <title>tutorial1 Start Page</title> > </head> > <body> > <h1>tutorial1 Start Page</h1> > > <p> This is the start page for this application, a good > place to start your modifications. > Just to prove this is live: </p> > > <p> The current time is: ${currentTime}. </p> > > > <p> > [<t:pagelink t:page="Start">refresh</t:pagelink>] > </p> > </body> > </html> > > -- Howard M. Lewis Ship Partner and Senior Architect at Feature50 Creator Apache Tapestry and Apache HiveMind