Re: &lt and < in literals

MegaZone (megazone@livingston.com)
Mon, 11 Mar 1996 19:12:14 -0800 (PST)


From: MegaZone <megazone@livingston.com>
Message-Id: <199603120312.TAA27131@server.livingston.com>
Subject: Re: &lt and < in literals
To: mcmanus@nysernet.org
Date: Mon, 11 Mar 1996 19:12:14 -0800 (PST)
Cc: www-html@www10.w3.org
In-Reply-To: <199603082104.QAA23270@pat.nyser.net> from "Patrick McManus" at Mar 8, 96 04:04:16 pm

Once upon a time Patrick McManus shaped the electrons to say...
>Which I feel should render to something like :
>
>	<<hi>> is a good choice
>
>Does what I would expect under netscape 2.0 (X).. submits a pair with
>a name of something, and value of <<hi>>.. MSIE on the other hand
>(win95) renders it something like
>
>	>"> <<hi>> is a good choice
>
>assumably using the leading > and assuming I forgot a quote or
>something like that and closing the tag for me. My interpretation of
>all this is I can't write the expression I want to write under MSIE in
>any way shape or form.. (&lt and &gt should not be expanded in the
>literal, correct?) 

Right.  But this also happens in other browsers, including earlier verions
of Netscape.  They try to be smart and missing endquotes are VERY common
mistakes, so they wrote the browser to view the next close bracket as the
end and assume the quote.

And since there are so many browsers out there doing this, you really need
to avoid using the brackets.

-MZ
--
Although I work for Livingston Enterprises Technical Support, I alone am
responsible for everything contained herein.  So don't waste my managers'
time bitching to them if you don't like something I've said.  Flame me.
Phone: 800-458-9966  support@livingston.com  <http://www.livingston.com/> 
FAX: 510-426-8951    6920 Koll Center Parkway #220, Pleasanton, CA 94566