- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 01 May 2006 16:47:08 +0000
- To: www-validator-cvs@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3170
Summary: optional </li> close tag causes validation error with
nested ol's
Product: Validator
Version: HEAD
Platform: PC
URL: http://alamo.nmsu.edu/~spodhaje/sitemap_non_valid.php
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: check
AssignedTo: link@pobox.com
ReportedBy: gehossafats@netmdc.com
QAContact: www-validator-cvs@w3.org
The following fails validation:
<div>
<ol class="lvl1">
<li><a href="index.php">Home</a> This
is main page of this site.</li>
<ol class="lvl2">
<li><a
href="sitemap.php">Site Map</a> <em> You are here.</em></li>
<li><a
href="contact.php">Contact</a> This link will take you to a form where you can
leave a message.</li>
<li><a
href="picture.php">Picture</a> This is a picture from 2005. When we had some
snow.</li>
<li><a
href="flash.php">Flash</a> This link will take you to a Flash presentation on
use a rescue disk.</li>
<li><a
href="assign7.php">Assign7</a> This page is the rest of Assignment 7, php and
audio.
<li><a
href="Assign_8.php">Assign 8</a> PHP calculator script.
<li><a
href="Extra_credit.php">Extra Credit</a> Extra credit assignment.
<li><a
href="links.php">Links</a> This will take you to a page with some interesting
links for programmers.</li>
</ol>
</ol>
</div>
However, removing the optional list item closing tag from the top level list
allows the page to validate.
http://alamo.nmsu.edu/~spodhaje/sitemap.php
Received on Monday, 1 May 2006 16:47:11 UTC