hi, you could try to check your html templates by using the HTML Validator add-on for Firefox. It will show you exactly where the unclosed tags are.
i know it's not exactly what you are looking for :) but it could help reduce the number of hours you spend on correcting your templates. maybe you could force your designers to use it :) g, kris "Rui Pacheco" <[EMAIL PROTECTED] l.com> An "Tapestry users" 04.08.2006 16:05 <users@tapestry.apache.org> Kopie Bitte antworten Thema an Re: I want my HTML *that* way "Tapestry users" <[EMAIL PROTECTED] pache.org> My experience tells me they have to match, also. You can't just close them anywhere, you have to pick that messy html generated by some application and ident it. Thats the part where I lose hours of work. On 8/4/06, Martin Strand <[EMAIL PROTECTED]> wrote: > > If you leave open <br>, <td> or <p> tags around, Tapestry can't parse the > template properly since it's no longer an xml document. Just close all > tags, it doesn't really have to be valid HTML. > > Martin > > On Fri, 04 Aug 2006 13:10:50 +0200, Rui Pacheco <[EMAIL PROTECTED]> > wrote: > > > This is a possible solution.. > > > > On 8/4/06, Detlef Schulze <[EMAIL PROTECTED]> wrote: > >> > >> You could try to use a tool for cleaning your html. There are many > tools > >> out there for this (i.e. htmltidy > >> http://www.w3.org/People/Raggett/tidy/) > >> > >> > >> Cheers, > >> detlef > >> > >> -----Original Message----- > >> From: Rui Pacheco [mailto:[EMAIL PROTECTED] > >> Sent: Freitag, 4. August 2006 12:58 > >> To: Tapestry users > >> Subject: Re: I want my HTML *that* way > >> > >> Well, I don't have that luxury. Once a design is out of their > >> department, it > >> won't go in. > >> > >> This is really a huge time waster. Right now I'm fixing another > snippet, > >> looking for stray tags. > >> > >> On 8/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: > >> > > >> > train your designers to produce clean html - after all nowadays its > >> not > >> > out of the cloudes.. > >> > Cheers, > >> > Ron > >> > > >> > > >> > Rui Pacheco wrote: > >> > > Its not the first time that Tapestry's HTML parser throws an > >> exception > >> > > because a piece of HTML is not well formed. > >> > > > >> > > If I have a table that isn't closed properly, or a span tag that > >> isn't > >> > > opened correctly, then its impossible to continue, for example. > >> > > > >> > > My problem is, I'm creating my component's templates from snippets > >> of > >> > code > >> > > designed with DreamWeaver by other people (designers). The HTML > >> renders > >> > > correctly on any browser, but is not understood by Tapestry. The > >> thing > >> > > is, I > >> > > can't afford to correct every piece of HTML that is sent my way, > its > >> > just > >> > > too time consuming. > >> > > > >> > > I'll try to send you an example, but it would be hard now - I've > >> > corrected > >> > > all the HTML I found :) > >> > > > >> > > On 8/4/06, hv @ Fashion Content <[EMAIL PROTECTED]> wrote: > >> > > > >> > >> > >> > >> I never had that problem could you be a bit more specific > >> > >> > >> > >> "Rui Pacheco" <[EMAIL PROTECTED]> skrev i en meddelelse > >> > >> news:[EMAIL PROTECTED] > ... > >> > >> > Hi all > >> > >> > > >> > >> > I have a template, designed under DreamWeaver with loads of > >> randomly > >> > >> > placed > >> > >> > HTML tags, and Tapestry won't parse it. It chockes on tags that > >> don't > >> > >> > open, > >> > >> > it chockes on form tags placed at the same level as tables, etc. > >> > >> > > >> > >> > Is there a way to tell Tapestry's HTML parser to be a bit more > >> > relaxed? > >> > >> I > >> > >> > mean, I still have a couple of pages to go through, and its > going > >> to > >> > be > >> > >> > hell > >> > >> > if he complains about every bit of malformed HTML. > >> > >> > > >> > >> > -- > >> > >> > Cumprimentos, > >> > >> > Rui Pacheco > >> > >> > > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> --------------------------------------------------------------------- > >> > >> 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] > >> > > >> > > >> > >> > >> -- > >> Cumprimentos, > >> Rui Pacheco > >> > >> --------------------------------------------------------------------- > >> 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] > > -- Cumprimentos, Rui Pacheco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]