W3C home > Mailing lists > Public > www-validator@w3.org > April 2003

Re: I think I've found a file that fails & shouldn't

From: Curtis Jewell <curtis_whalen@yahoo.com>
Date: Fri, 18 Apr 2003 23:18:28 +0900
To: www-validator@w3.org
Message-ID: <b7p1de$33a$1@main.gmane.org>

Exactly.

That means it validates exactly the same as if you had
<p></p><p></p><p>.....</p></p></p>.

That is an error because it has TWO unmatched </p> at the end of it.

--Curtis

"David Thielen" <dave@windward.net> wrote in message
news:04f101c305b1$be926000$69f72dc7@BAMBI...
>
> But in the file I sent it's not that. It's <p><p><p>.....</p></p></p>
>
> - dave
>
>
> ----- Original Message ----- 
> From: "Olivier Thereaux" <ot@w3.org>
> To: "David Thielen" <dave@windward.net>
> Cc: "Liam Quinn" <liam@htmlhelp.com>; <www-validator@w3.org>
> Sent: Thursday, April 17, 2003 8:35 PM
> Subject: Re: I think I've found a file that fails & shouldn't
>
>
> >
> > On Friday, Apr 18, 2003, at 11:27 Asia/Tokyo, David Thielen wrote:
> >
> > >
> > > Ok, but again, then why does it fail it in the validator? I agree with
> > > everything you have said but I don't understand why the validator
> > > fails it
> > > in this case.
> >
> > Take Liam's example:
> >
> > <p></p><p>foo</p></p>
> >
> > Parse it...
> >
> > <p></p>
> > => OK, paragraph opened and closed, we're done with that one
> > <p>foo</p>
> > => OK, paragraph opened and closed, we're done with that one
> > </p>
> > => uh? what's that, closing a paragraph that doesn't exist?
> >
> > So eventhough you think the <p> and </p> are balanced, if you add the
> > implied closing tags, they're not.
> >
> > -- 
> > Olivier
> >
> >
>
>
Received on Friday, 18 April 2003 10:35:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:08 GMT