W3C home > Mailing lists > Public > www-validator@w3.org > December 2011

Re: False unclosed element logging

From: Pelletier, Bryce X. -ND <Bryce.X.Pelletier.-ND@disney.com>
Date: Fri, 2 Dec 2011 09:05:32 -0500
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
CC: "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <CAFE4488.48A4%bryce.x.pelletier.-ND@disney.com>
Yucca,

Thanks. I'll recheck my code (which is dynamic so it's possible to be
missing from one of the dynamic elements). If there is no easy fix for the
body (or any enclosing element outside the affecting element) it'll just
be a false positive that may need a note added to help others as they may
experience this? Again thanks for your help in this.

Cheers

Bryce Pelletier
Media Developer

The Disney Event Group
Phone: 407.827.1546
www.DisneyEventGroup.com




On 12/1/11 4:25 PM, "Jukka K. Korpela" <jkorpela@cs.tut.fi> wrote:

>2011-11-28 18:34, Pelletier, Bryce X. -ND wrote:
>
>> 
>>http://www.disneyeventgroup.com/index.php/creative_media/pre_event_messag
>>ing/
>[...]
>>  1. Error /Line 724, Column 11/: End tag for body seen, but there were
>>     unclosed elements.
>
>This error message is related to the next one.
>
>There are errors before this one, and in general, it pays of to fix
>errors in order, because one error can cause other errors later, even a
>cascade of error messages, possibly rather confusing. In this case,
>though, it seems the other errors, though relevant, are not related to
>the issue at hand.
>
>>  2. Error /Line 75, Column 22/: Unclosed element div.
>>
>>     |		<div id="container"*>*|
>>
>>
>>
>> I went back and checked a few times and they are both closed properly.
>
>But where is that <div> element expected to end, i.e. where is its end
>tag? There are 27 <div> start tags and only 26 </div> end tags.
>
>Because the <div> element has not been closed, another error messages is
>issued when the </body> end tag is seen (which is somewhat redundant,
>but I don't think there's any easy fix to this).
>
>Yucca
>
>
Received on Friday, 2 December 2011 14:06:03 GMT

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