I was wondering if that might be the case, too. Tapestry is the only thing where I'm typically hand-editing XML, so I normally don't see those types of error messages.
I suppose a little blurb in the T3->T4 upgrade page would be helpful, too. Thanks, /dev/mrg (back to figuring out how to replace getVisit(), which is deprecated ...) -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ron Piterman Sent: Thursday, December 22, 2005 11:34 AM To: [email protected] Subject: Re: Attribute "expression" must be declared for element type "binding". try again: its a normal sax parser error message, which means, the attribute "expression" must be declaired in the dtd, and it is not. not a tapestry thing - if you misspell your hibernate or anyother app xml file you get the same error message. Gentry, Michael (Contractor) wrote: > I'm starting to convert something written in T3 to T4 and keep getting > these types of error messages: > > Unable to read context:/WEB-INF/Home.page: Attribute "expression" must > be declared for element type "binding". > > context:/WEB-INF/Home.page, line 23, column 49 > > 21 <component id="isLoggedIn" type="Conditional"> > 22 <binding name="condition" value="visit.isLoggedIn"/> > 23 <binding name="element" expression="'div'"/> > 24 </component> > > When I replace "expression" with "value" the message goes away. > > A) I'm assuming "value" is the proper attribute name now, > B) The error message is incorrect/misleading (since I obviously had > "expression" there in the first place). > > Can anyone confirm my assumptions? > > Thanks! > > /dev/mrg > > PS. This isn't mentioned in > http://jakarta.apache.org/tapestry/UsersGuide/upgrade.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
