<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>3170</bug_id>
          
          <creation_ts>2006-05-01 16:47:07 +0000</creation_ts>
          <short_desc>optional &lt;/li&gt; close tag causes validation error with nested ol&apos;s</short_desc>
          <delta_ts>2006-05-01 16:50:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://alamo.nmsu.edu/~spodhaje/sitemap_non_valid.php</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Steve Podhajecki">gehossafats</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9539</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Podhajecki">gehossafats</who>
    <bug_when>2006-05-01 16:47:07 +0000</bug_when>
    <thetext>The following fails validation:
					&lt;div&gt;
					&lt;ol class=&quot;lvl1&quot;&gt;
					&lt;li&gt;&lt;a href=&quot;index.php&quot;&gt;Home&lt;/a&gt; This is main page of this site.&lt;/li&gt;
						&lt;ol class=&quot;lvl2&quot;&gt;
							&lt;li&gt;&lt;a href=&quot;sitemap.php&quot;&gt;Site Map&lt;/a&gt; &lt;em&gt; You are here.&lt;/em&gt;&lt;/li&gt;
							&lt;li&gt;&lt;a href=&quot;contact.php&quot;&gt;Contact&lt;/a&gt; This link will take you to a form where you can leave a message.&lt;/li&gt;
							&lt;li&gt;&lt;a href=&quot;picture.php&quot;&gt;Picture&lt;/a&gt; This is a picture from 2005. When we had some snow.&lt;/li&gt;
							&lt;li&gt;&lt;a href=&quot;flash.php&quot;&gt;Flash&lt;/a&gt; This link will take you to a Flash presentation on use a rescue disk.&lt;/li&gt;
							&lt;li&gt;&lt;a href=&quot;assign7.php&quot;&gt;Assign7&lt;/a&gt; This page is the rest of Assignment 7, php and audio.
							&lt;li&gt;&lt;a href=&quot;Assign_8.php&quot;&gt;Assign 8&lt;/a&gt; PHP calculator script.
							&lt;li&gt;&lt;a href=&quot;Extra_credit.php&quot;&gt;Extra Credit&lt;/a&gt; Extra credit assignment.
							&lt;li&gt;&lt;a href=&quot;links.php&quot;&gt;Links&lt;/a&gt; This will take you to a page with some interesting links for programmers.&lt;/li&gt;
						&lt;/ol&gt;
						
					&lt;/ol&gt;
					&lt;/div&gt;


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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9540</commentid>
    <comment_count>1</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2006-05-01 16:50:10 +0000</bug_when>
    <thetext>Your code is &lt;ol&gt;&lt;li&gt;&lt;/li&gt;&lt;ol&gt;... which is not allowed, the inner &lt;ol&gt; must be part of a list item.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>