More DTD trick questions: DIR/MENU vs OL/UL, PCDATA vs CDATA

While I'm questioning the DTD, why is there [1]:

<!ELEMENT (DIR|MENU) - -  (LI)+ -(%blocklevel)>
                                ^^^^^^^^^^^^^^
Why does this need to be excluded? 

For OL and UL, it's:
<!ELEMENT OL - -  (LI)+>
<!ELEMENT UL - -  (LI)+>

So
<MENU><LI><P>Item</MENU>
is illegal but
<OL><LI><P>Item</OL>
is okay?  Why?

(I know, who cares, MENU and DIR are deprecated...still,
I'm curious.  HTML 3.2's DTD has the same thing.)

                          * * *

I also want to repeat Jeni Tennison's question of 18-Aug-97,
that shouldn't INS and DEL allow %block instead of %inline?

                          * * *

And while I'm asking questions...where are the differences
between PCDATA and CDATA defined?

[1] immediately following:
    http://www.w3.org/TR/WD-html40/sgml/dtd.html#ULStyle

Received on Sunday, 24 August 1997 07:04:53 UTC