W3C home > Mailing lists > Public > www-validator@w3.org > August 2012

Re: [VE][74] Strange unordered list error SOLVED

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sun, 12 Aug 2012 19:26:59 +0300
Message-ID: <5027D953.1040905@cs.tut.fi>
To: "taylor@eezi.net.au" <taylor@eezi.net.au>
CC: www-validator@w3.org
2012-08-11 6:28, taylor@eezi.net.au wrote:

> Validating http://over55cycling.org.au/membership/requirements.html
> Error [74]: "start tag for <li> omitted, but its declaration does not
> permit this"
>
> I did not understand why the validator is reporting that The <li> tag is
> omitted when it is not.
>
> I also did not understand what character data I should not be including
> within the <li></li> tags.
>
> SOLUTION
>
> I had copied the text from a Microsoft document and the \x0d \x0a line
> endings were upsetting the validator although the page looked OK on screen.


It's good that you were able to fix the markup, but carriage return and 
linefeed were hardly the real problem.

The error message quoted normally results when an <ol> or <ul> element 
starts with any non-whitespace content but a <li> element.

Yucca
Received on Sunday, 12 August 2012 16:27:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 12 August 2012 16:27:36 GMT