Re: Nested Lists

mvitale@wallace.com
Wed, 11 Mar 1998 11:25:50 -0600


From: mvitale@wallace.com
Message-Id: <199803111724.MAA09036@www10.w3.org>
To: fw11ab@student.hik.se, www-html@w3.org
Date: Wed, 11 Mar 1998 11:25:50 -0600
Subject: RE: Nested Lists

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_000_01BD4D12.ABF26402
Content-Type: text/plain;
	charset="iso-8859-1"


	I came accross a very strange error when I ran a validation on
	a page of mine using the W3C Validation Service.

	I used a simple nested unordered list, which according to
	the specification [2] is quite alright:
	   "Lists may also be nested:"

	My list was in principle constructed as follows:

	   <ul>
	      <li>Heading</li>
	      <ul>
	         <li>Subitem</li>
	         <li>Subitem</li>
	      </ul>
	   </ul>

	The Validation Report said:
	   Error at line 75:
	      <ul>
	         document type does not allow element "UL" here;
	         assuming missing "LI" start-tag

	The correct way to nest lists is:

	<ul>
	  <li>Heading
	    <ul>
	      <li>Subitem</li>
	      <li>Subitem</li>
	    </ul>
	  </li>
	</ul>

	In other words, the entire nested list is a part of the first
list's first item.  Attempting to validate this code will pass.

	-Mike Vitale
	mvitale@wallace.com <mailto:mvitale@wallace.com> 


------ =_NextPart_000_01BD4D12.ABF26402
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

eJ8+IhgRAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQSAAQARAAAAUkU6IE5lc3RlZCBMaXN0cwCDBQEJgAEAIQAAAEEz
NDM0ODZGRUFCOEQxMTFCRDZFMDA4MDVGM0YyOUVCAEkHASCAAwAOAAAAzgcDAAsACwAZABYAAwAg
AQEFgAMADgAAAM4HAwALAAsAGQAyAAMAPAEBDYAEAAIAAAACAAIAAQOQBgAQDQAAKgAAAAsAAgAB
AAAAAwAuAAAAAABAADkAUKt+vBJNvQEeAHAAAQAAAA0AAABOZXN0ZWQgT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