W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2004

(X)HTML DTD <ul> stricly request <li>

From: Martin Konicek <konicekmartin@seznam.cz>
Date: Wed, 02 Jun 2004 15:46:17 +0200
Message-ID: <40BDDA29.5000908@seznam.cz>
To: www-html-editor@w3.org

I found this part of XHTML1.1 DTD:

<!ELEMENT ul (li)+>

I thing, it's not usefull to strictly requested <li>, because for 
practical use, you could have this problem.

Some script:
<ul>
    <loop><li>some row</li></loop>
</ul>

There is problem, in fact is many situation, where you have no data and 
you will get this results:

<ul></ul>

I thing it's better to accapt this as correct. I thing, there is no 
problem with this code, element <ul> in practice could be emty, why not?

//Martin Konicek
Received on Wednesday, 2 June 2004 11:59:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:33 UTC