Interpretation of RE

Arthur van Hoff (Arthur.Vanhoff@eng.sun.com)
Mon, 10 Apr 1995 10:24:14 -0700


Date: Mon, 10 Apr 1995 10:24:14 -0700
From: Arthur.Vanhoff@eng.sun.com (Arthur van Hoff)
Message-Id: <9504101724.AA13463@acorn.Eng.Sun.COM>
To: html-wg@oclc.org, www-html@www10.w3.org
Subject: Interpretation of RE


Hi,

I'm trying to find out the correct interpretation of RE (newline) and
white space in html documents. According to the html spec you are
supposed to ignore the first and the last RE within the content of an
element. If that is true, what is the correct interpretation of RE
iside a PRE content? For example:

<pre>
This is <b>
bold
</b> text.
</pre>

Should this be interpreted as:

<pre>
This is <b>bold</b> text.
</pre>

If so, why are all the browsers doing it wrong? I'm trying to implement
an HTML3 compliant parser. Could someone point me to more information
on the interpretation of white space in html documents?

Have fun,

	Arthur van Hoff (avh@eng.sun.com)
	http://java.sun.com/people/avh/
	Sun Microsystems Inc, M/S UPAL02-301,
	100 Hamilton Avenue, Palo Alto CA 94301, USA
	Tel: +1 415 473 7242, Fax: +1 415 473 7104