Jade bug (was Re: Constructing HTML links in -t sgml)

Subject: Jade bug (was Re: Constructing HTML links in -t sgml)
From: Norman Walsh <norm@xxxxxxxxxxxxx>
Date: Wed, 18 Jun 1997 09:24:36 -0400
Paul Prescod <papresco@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
> Norman Walsh wrote:
> > What I don't see myself figuring out in the short run is how to
> > contruct the links when there's a cross reference between
> > elements in the original source.
> 
> This is non-trivial. [...]

Thanks, Paul, your suggestions got me most of the way there.
All the way there, maybe, but I think I've run into a bug in Jade.

In the attached UUE file (sorry, but I sent a style sheet to Jon
yesterday and he reported that it got mangled in transmission so
I'm not taking any chances) you'll find test.sgm and test.dsl.

When I run 'jade -t sgml -d test.dsl test.sgm', (0.8/Windows) I
get an HTML file in which:

*SOMETIMES*

  - the three links come out correctly
  - the first xref comes out correctly
  - the text leading up to the second xref comes out correctly
  - the second xref *and all text following it in the para* disappear

I thought that this was a consistent bug, and probably in my
DSSSL, but in running a few other tests while composing this
message, I've verified that the behavior depends on something
else...I'm guessing uninitialized storage in Jade.

If my test case doesn't seem to demonstrate the bug for you, try
duplicating the content of the para a few times to add more links.

FWIW, I can't duplicate the problem on UNIX at all.

--norm

begin 644 test.zip
M4$L#!!0````(`(E(TB*F^_A?H@$``*4$```(````=&5S="YS9VV=4LMJPD`4
MW1?\AZ@;4UI%W94X("8%J8I8%Y;214QN<&@>TYE1*N3C.R_ST")B$DCNS#GG
MGGLR3C/,`GXD8%&((.7T:'TV'IPFQ)"(LEQ]%G='5`EP_TDNIWX"(3ZH;P8!
M[]M($GW.8\PJ1!S*IXT3$F,(T9FXE"NT%8%C'H-233`+<!IE]CG)M"YXLE8,
MLJ<D8W!!4/XTW,@3G_H7AC7LBF')TC*=]G+BCM?C?"-X^0RGW_9CO>VOV%!8
M;[Y<?]1:J:U8<""5O635IO"SQ_2L7SV4O)));L;.RZES#6+'-",,LUPVL!L/
M5G$IX\9W?78)O6+H2X)7$'GJAT[=42O<4NA*E]W)SB<<:$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