- From: Charles F. Goldfarb <Charles@SGMLsource.com>
- Date: Tue, 17 Sep 1996 01:02:03 GMT
- To: Gavin Nicol <gtn@ebt.com>
- Cc: tbray@textuality.com, w3c-sgml-wg@w3.org
On Mon, 16 Sep 1996 14:02:27 GMT, Gavin Nicol <gtn@ebt.com> wrote: >><p> >>Text of p. >></p> >> >>Case 2: >> >><p>Text of p.</p> > >My understanding is that these would return *different* parse >results. We could (if it is so desired) make it an application >convention to strip leading and trailing whitespace. > > Thanks Gavin. That's what I feared, so eliminating RE and RS characters doesn't really solve the problem. Making it an "application convention" to strip some whitespace just shifts the burden from a few parsers to all applications and increases the chance of inconsistent treatment. Better, I think, to eliminate mixed content altogether as James Clark has proposed. -- Charles F. Goldfarb * Information Management Consulting * +1(408)867-5553 13075 Paramount Drive * Saratoga CA 95070 * USA International Standards Editor * ISO 8879 SGML * ISO/IEC 10744 HyTime Prentice-Hall Series Editor * CFG Series on Open Information Management --
Received on Monday, 16 September 1996 20:59:57 UTC