W3C home > Mailing lists > Public > www-style@w3.org > September 1996

Re: space

From: William Perry <wmperry@aventail.com>
Date: Mon, 23 Sep 1996 06:42:01 -0700
Message-Id: <199609231342.GAA21240@newman>
To: Chris Ridd <C.Ridd@imc.exec.nhs.uk>
Cc: Stuart Young <nakor@glasswings.com.au>, Walter Ian Kaye <walter@natural-innovations.com>, www-html@w3.org, www-style@w3.org
Chris Ridd writes:
>Stuart Young wrote:
>> 
>> On Mon, 23 Sep 1996, Walter Ian Kaye wrote:
>> 
>> > None of those are usable for computer source code, however. In source
>> > code, a specific number of space characters can be vital to the correct
>> > functioning of the program! Currently, HTML is unusable as a means of
>> > transmitting source code; other content types must be used instead.
>> 
>> Isn't this what <PRE> is all about?
>
>No, because the contents of a <pre> section is only PCDATA, which
>prevents you from using the 'special' SGML characters inside your
>program. This will greatly annoy your programmers...
>
>eg
>
><pre>
>PROCEDURE frob
>BEGIN
>  IF silly <> foolish THEN
>    WRITELN("Ooops.");
>END
></pre>
>
>is not legal because of the "<>".

 That's perfectly legal from what I understand.  CDATA entries are only
terminated by </[a-z]

-Bill P.
Received on Monday, 23 September 1996 09:48:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:45 GMT