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

Arnoud (galactus@htmlhelp.com)
Wed, 30 Jul 1997 22:09:11 +0200


From: galactus@htmlhelp.com (Arnoud "Galactus" Engelfriet)
To: www-html@w3.org
Subject: Re: HTML 4.0/SGML, (#PCDATA)* problem in TEXTAREA
Date: Wed, 30 Jul 1997 22:09:11 +0200
Message-ID: <n953z4uYOhkK089yn@htmlhelp.com>

In article <199707291814.MAA00349@underworld.bigpic.com>,
"Neil St.Laurent" <neil@bigpic.com> wrote:
> What is HTML's position on handling unknown tags though?  According 

Section 4.2.1 of RFC 1866 (HTML 2.0 spec) recommends that start-
and end-tags for unknown elements should be "mapped to nothing"
(standardese for "ignored") during tokenization.

> to SGML they should simply cause the document to be invalid, but it 
> appears (and I remember reading) that HTML browsers are to simply 
> pretend as though the unknown tag wasn't there.

"Information providers are warned that this convention is not binding:
unspecified behavior may result, as such markup does not conform to
this specification."

In other words, it's common practice to do so, but a browser which
made David Siegel fly out of your nose upon encountering an element
that it doesn't recognize is not violating RFC 1866.

-- 
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>