lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev A Missing >...


From: David Woolley
Subject: Re: lynx-dev A Missing >...
Date: Tue, 25 Jul 2000 08:45:10 +0100 (BST)

> SCRIPT contents on '</SOMETHING' that isn't '</SCRIPT', and while that's
> not valid input (any '</SOMETHING' in the script content should have been
> written with some form of escaping), it is probably more useful to continue

It's perfectly valid input.  The comment model for <script> (and <style>) 
is CDATA, which is only terminated by a matching close tag, not any
arbitrary markup.  SGML, of course, assumes that people don't transmit
invalid documents, whereas most web documents are invalid.

(This doesn't give backward compatibility and commenting out the script
is advised for HTML, and XHMTL requires an explicit CDATA marked section.)

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]