- From: Ian Hickson <py8ieh@bath.ac.uk>
- Date: Fri, 12 Feb 1999 20:24:47 +0000 (BST)
- To: www-html@w3.org
ISO8879 [1] states in section 7.6.1:
# If an RS in content is not interpreted as markup, it is ignored.
In the HTML4.0 [2] specification, section 20.1, SGML Declaration [3],
RS is defined as follows:
# FUNCTION
# RS 10
...that is, it is the linefeed character.
Does this mean that the following:
<PRE>
Oranges
Lemons
</PRE>
...where each line is separated by a linefeed character (i.e., where
the document was created on Unix), and the following:
<PRE> Oranges Lemons </PRE>
...should be parsed as being the same thing?
And therefore, does it mean that any PRE blocks in HTML files that
have lines separated only by linefeed characters (as opposed to
carriage returns (SGML "RE" characters, code point 13)) should be
rendered as a single continuous line?
References:
[1] "Information Processing -- Text and Office Systems -- Standard
Generalized Markup Language (SGML)", ISO 8879:1986.
http://www.iso.ch/cate/d16387.html
[2] http://www.w3.org/TR/REC-html40/
[3] http://www.w3.org/TR/REC-html40/
--
Ian Hickson
Received on Friday, 12 February 1999 15:24:55 UTC