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

Re: Current Status of Discussion on RE/RS Handling



In following the subsequent discussion, I realized that my response to Bob
was flawed in that I forgot that white space following end tags and
preceding start tags is *not* ignored.  Darn.

I've corrected my example below, using "@" for spaces.

E.

At 07:54 AM 9/30/96 -0900, W. Eliot Kimber wrote:

>>I'm curious to understand how the proposal would address the white-space
>>in the following snippet.
>>
>><ROOT ID="H502400" RL="AD">
>>  <DS>WFMD-AA, WAFE MAIN DRAWER</DS>
>>  <Q UM="EA">1.0000</Q>
>>  <DWG S="D" PP="5" RL="AB">
>>  <USES>
>>    <REF PN="B018547" I="1">
>>      <Q UM="">6.0000</Q>
>>    </REF>
>>    <REF PN="B013284" I="2">
>>      <Q UM="">8.0000</Q>
>>    </REF>
>>    <REF PN="B018560" I="3">
>>      <Q UM="">36.0000</Q>
>>    </REF>
>>...
>></ROOT>
>
>Using NSGMLS style output (and ignoring attributes):
>(ROOT
>(DS
>-WFMD-AA, WAFE MAIN DRAWER
>)DS
-@@@
>(Q
>-1.0000
>)Q
-\n@@
>(DWG
>(USES
>(REF
>(Q
>-6.0000
>)Q
>)REF
-@@@@@
>(REF
>(Q
>-8.0000
>)Q
>)REF
-@@@@@
>(REF
>(Q
>-36.0000
>)Q
>)REF
-@[...]
>)ROOT

>There is *no* uncollapsed space in the example because, unless I've gotten
>it horribly wrong, all the white space falls under rule 1.

I did get it horribly wrong. My appologies [why can't we just end this
madness!  Just do what James says and nobody gets hurt...]

Cheers,

E.
--
W. Eliot Kimber (kimber@passage.com) 
Senior SGML Consultant and HyTime Specialist
Passage Systems, Inc., (512)339-1400
10596 N. Tantau Ave., Cupertino, CA 95014-3535 (408) 366-0300, (408)
366-0320 (fax)
2608 Pinewood Terrace, Austin, TX 78757 (512) 339-1400 (fone/fax)
http://www.passage.com (work) http://www.drmacro.com (home)
"If I never had existed, would you still remember me?..."
                                   --Austin Lounge Lizards, "1984 Blues"


Follow-Ups: