W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Validator may add end tags sporadically!

From: Mike Gradek <mike@9media.com>
Date: Fri, 23 Jul 2004 13:02:22 -0400
To: <www-validator@w3.org>
Message-ID: <001301c470d6$d2c95a60$7500a8c0@summerlaptop>
Hi,
 
I just updated pages on my web site and was looking forward to having
them validated by the service and I think I may have found a bug...
 
Here's the url that failed
http://www.9media.com/fr/realisations
 
Here it is going through the validator service
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.9media.com%2Ffr%2Frea
lisations
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.9media.com%2Ffr%2Fre
alisations&charset=%28detect+automatically%29&doctype=%28detect+automati
cally%29&ss=1&sp=1>
&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&s
s=1&sp=1
 
Errors are reported for lack of an opening tag to match <p> end tags on
lines 75, 84, 94 and 103
 
However, if we consult the source code the tool provides near line 75
for example we find...
 
65:                 <h3>L'Association des MBA du Québec</h3>
66:                 <p>
67:                   <div class="floatleft">
68:                     <img
src="http://www.9media.com/site/IMAGES/SectionPics/CaseStudies/ambaq-cli
ent.jpg" alt="Réalisations | Ambaq client">
69:                   </div>
70:                   <div class="casestext">
71:                     <b>Le client</b>
72:                     <br>
73: L'association des MBA du Québec (l'AMBAQ) est une association qui
compte plus de 1500 professionnels d'affaires avec le diplôme MBA. La
mission de l'association est de promouvoir la valeur du diplôme MBA et
de fournir une gamme variée d'activités et de services à ses membres,
notamment des conférences, des activités de réseautage et des tournois
de golf. 9media est particulièrement fier de sa bonne relation avec
l'AMBAQ. Dans un article publié dans l'édition Juin-Juillet 2001 du
journal de l'association, le Bulletin, Mme Deborah Ward (MBA et chargée
d'Internet et des Communications pour l'AMBAQ) a pris le temps de
souligner "l'expertise technique et le génie créatif" de 9media.
74: </div>
75:                 </p>
 
 
The parse tree shows something quite interesting, which is what leads me
to believe there's a bug: after the h3 element, the <P> is closed, and
in the source code it is not.
 
                <H3
<http://www.htmlhelp.com/reference/html40/block/h3.html> >
   L'Association des MBA du Québec
                </H3
<http://www.htmlhelp.com/reference/html40/block/h3.html> >
                <
<http://www.htmlhelp.com/reference/html40/block/p.html> P>
                </
<http://www.htmlhelp.com/reference/html40/block/p.html> P>
                  ACLASS CDATA floatleft
                <DIV
<http://www.htmlhelp.com/reference/html40/block/div.html> >
                    ASRC CDATA
http://www.9media.com/site/IMAGES/SectionPics/CaseStudies/ambaq-client.j
pg
                    AALT CDATA Réalisations | Ambaq client
                  <IMG
<http://www.htmlhelp.com/reference/html40/special/img.html> >
                  </IMG
<http://www.htmlhelp.com/reference/html40/special/img.html> >
                </DIV
<http://www.htmlhelp.com/reference/html40/block/div.html> >
                  ACLASS CDATA casestext
                <DIV
<http://www.htmlhelp.com/reference/html40/block/div.html> >
                  <B
<http://www.htmlhelp.com/reference/html40/fontstyle/b.html> >
     Le client
                  </B
<http://www.htmlhelp.com/reference/html40/fontstyle/b.html> >

I'll keep the page source as is until I receive feedback.
 
Cheers,
Mike
Received on Friday, 23 July 2004 13:17:26 GMT

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