[Prev][Next][Index][Thread]

Re: Current Status of Discussion on RE/RS Handling



[Jon Bosak]

> An implication of the ERB's current RE/RS proposal just posted by
> Eliot is that extra spaces within the text of a paragraph (for
> example) would not be collapsed by this rule (though of course they
> could be by the application).  So people who have gotten into the
> habit of prettying up their source by indenting text (for example)
> will have to unlearn this habit if the receiving app isn't set up to
> collapse the extra spaces.
> 
> Personally (speaking now only as the five-line perl hacker and
> someone who has to teach this stuff in two-day extension courses),
> this is fine with me because it's so incredibly easy to explain: you
> want spaces, put 'em in; you don't want spaces, leave 'em out.  But
> I thought that this aspect should be made explicit.

This is another thing that becomes moot if whitespace normalization is
an application convention instead of a parser rule.  For non-verbatim
elements, spaces can be normalized (in the grove of a DSSSL engine, or
before rendering in a simpler browser), and they can be preserved in
verbatim elements.  I think it simplifies a lot to define it this way,
but I'd love to hear counterarguments.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//GCA//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//EBT//NONSGML Christopher R. Maden//EN" SYSTEM
"<URL>http://www.ebt.com <TEL>+1.401.421.9550 <FAX>+1.401.521.2030
<USMAIL>One Richmond Square, Providence, RI 02906 USA" NDATA SGML.Geek>


References: