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]

Reply via email to