HTML 4.0/SGML, (#PCDATA)* problem in TEXTAREA

Firstly here is my HTML snippet:

<FORM><P><HELLO>
<TEXTAREA><HELLO> <P>&amp; out there in <TEXTAREA> land</TEXTAREA>
</FORM>

According to HTML 4.0 TEXTAREA has a content of #PCDATA, yet both IE 
and Netscape put the <HELLO><P> and <TEXTAREA> in the TEXTAREA field 
on the page, yet these are markup...

It seems <TEXTAREA>'s content is being treated as #RCDATA rather than 
#PCDATA?


Additionally, the (#PCDATA)* in the DTD seems incorrect:

SGML (ISO 8879)
11.2.4.2
rep   Optional and repeatable (0 or more times)
... The "#PCDATA" content toekn is regarded as having an occurance 
indicator of rep.

-
Putting the additional * on seems to break the content model because 
now technically we're allowed zero or more and an already possibly 
empty PCDATA.

Are we just confused about the standard or is there a genuine problem 
here?
__
| Mortar: Advanced Web Development <http://bigpic.com/mortar/>
| Neil St.Laurent  neil@bigpic.com
| Big Picture Multimedia

Received on Tuesday, 29 July 1997 10:32:49 UTC