Re: speaking of spaces and formatting....

Subject: Re: speaking of spaces and formatting....
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Tue, 25 Aug 1998 11:58:01 -0400 (EDT)
[apharris@xxxxxxxxxxxxxxxxxxx]
> |   <para>Text
> | 
> | does not mark up the same as
> | 
> |   <para>
> |   Text
> | 
> | Namely, in the latter case, the RTF has a space (" ") kinda indenting
> | the first word of the sentance ("Text").

[Norman Walsh]
> This is, unfortunately, technically proper behavior.
> 
> Paragraphs are "mixed content," so that linebreak is as significant
> as inter-word space.

I don't quite follow that.  That record-end should be ignored, unless
KEEPRSRE YES is specified in an XML-style SGML declaration.  ISO
8879:1986 7.6.1 Record Boundaries says:

   a) The first RE in an element is ignored if no RS, data, or proper
      subelement preceded it.

So unless overridden by a WebSGML SGML declaration, the two markup
examples should be identical.

See also my poster with Gavin Nicol from SGML '96; I have PowerPoint
(yes, I know) slides lying around somewhere if anyone wants them.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Re: speaking of spaces and formatting...., (continued)
    • Paul Prescod - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id AAA03955Tue, 25 Aug 1998 00:14:18 -0400 (EDT)
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA16677Tue, 25 Aug 1998 06:40:55 -0400 (EDT)
        • Adam P. Harris - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA05370Tue, 25 Aug 1998 12:22:28 -0400 (EDT)
    • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA16541Tue, 25 Aug 1998 06:36:07 -0400 (EDT)
      • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA02705Tue, 25 Aug 1998 12:00:42 -0400 (EDT) <=
        • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA05237Tue, 25 Aug 1998 12:19:34 -0400 (EDT)
    • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA02500Tue, 25 Aug 1998 11:55:53 -0400 (EDT)
      • Adam P. Harris - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id QAA15646Tue, 25 Aug 1998 16:24:55 -0400 (EDT)
        • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA18363Tue, 25 Aug 1998 17:27:02 -0400 (EDT)