Re: RS/RE: basic questions

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 UTC