- From: Alexandre Rafalovitch <arafalov@socs.uts.EDU.AU>
- Date: Fri, 29 Aug 1997 15:43:20 +1000 (EST)
- To: www-html@w3.org
On 28 Aug 1997, Peter Flynn wrote: I will things you point out with nsgml, but some of them I would like to clarify. > Alexandre Rafalovitch writes: > But I was testing some of the things that > should be tags/text/errors on current web browsers and saw very different > behaviour. Eg. Netscape3 would treat <234> as text, but </234> as > tag(undisplayed). MSIE, treat both as tags and ignore them. > > Both <234> and </234> are garbage in terms of HTML and should be > rejected out of hand as gross errors. It think it is possible to make > them valid SGML, but only by surgery on the SGML Declaration, and I > can't think offhand of many applications that would need element names > to be all digits. > I did not expect it to be treated as tags. I expected them to be treated as data characters as by context sensetive rule of SGML (if I understood it correctly), if < and </ is not followed by name-start-char it is not tag start. So, both NS and MSIE should have displayed <234> foo </234>. Same goes for <!, doctype..>, it should be treated as text. Correct? Thanks for FAQ stuff, I have not seen it before, but it is usefull. Regards, Alex.
Received on Friday, 29 August 1997 01:43:36 UTC