W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > September 1996

Re: RS/RE: basic questions

From: James Clark <jjc@jclark.com>
Date: Mon, 23 Sep 1996 11:07:38 +0000
Message-Id: <1.5.4.32.19960923110738.00334f94@jclark.com>
To: Robert Streich <streich@slb.com>
Cc: w3c-sgml-wg@w3.org
At 01:50 23/09/96 CDT, Robert Streich wrote:
>At 10:39 PM 9/22/96 GMT, Charles F. Goldfarb wrote:
>>As you just demonstrated, you are forcing the author to both remember the
rules
>>and implement them himself. They are not simple rules; if they were, we
>wouldn't
>>be having this discussion.
>
>I think they are pretty straightforward:
>
> In data content:
>  1. If an element begins or ends with a newline [not entirely
>     accurate, but this is what people see], the newline is ignored.
>  2. Newlines inside markup are ignored.
>  3. All other newlines are passed on.

According to your statement of the rules all of the three newlines in the
following would be passed on:

<doc><?>
<?>
data
<?></doc>

In fact none of them are.

James
Received on Monday, 23 September 1996 06:13:13 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:03:23 EDT