[ZPT] Why does this cause a page template to be invalid?(longish)

seb bacon seb@jamkit.com
18 Mar 2002 12:49:54 +0000


On Mon, 2002-03-18 at 12:36, Phil Harris wrote:
> ----- Original Message -----
> From: "seb bacon" <seb@jamkit.com>
> Sent: Monday, March 18, 2002 12:22 PM
> Subject: Re: [ZPT] Why does this cause a page template to be
> invalid?(longish)
> 
> 
> > Don't know what's going on there, but I reduced it to a simpler test
> > case:
> >
> > <p>
> >   <div>
> >
> >   </div>
> > </p>
> >
> > If you replace the <div>s with inline elements like <span>s, it works;
> > if you use block elements like <table>, it doesn't.

> Strange thing is that in the 'buggy' state no browser I've tried it in so
> far complains, only the PT parser ?!?

Yes, I reckon it's a PT parser bug.  Either way, no browsers are strict
about XHTML whereas the PT parser could be.  But anyway I don't know
much about it so I'll shut up now.

seb