Hi,
if you look at
http://clisp.podval.org/impnotes/mt.html#mt-unsafeyou will see a spurious line break:
(INCF (GETHASH x global-ht 0)) ; see Section 32.5.2.5, “Hash Tables,
Sequences, and other
mutable objects”
there should not be a line break between "other" and "mutable".
the sources (http://clisp.podval.org/impnotes-src.zip) impext.xml:
-----------------------------------
...
<programlisting language="lisp">
(&incf; (&gethash; x global-ht 0))<lineannotation>see <xref
linkend="mt-mutable"/></lineannotation>
....
-----------------------------------
template:
-----------------------------------
<xsl:template match="programlisting[@language = 'lisp']/lineannotation">
;
<xsl:apply-imports/>
</xsl:template>
-----------------------------------
my question is: should I use normalize-space myself
(the following is probably wrong, I hope you will correct that for me):
-----------------------------------
<xsl:template match="programlisting[@language = 'lisp']/lineannotation">
;
<xsl:value-of select="normalize-space(.)"><xsl:apply-imports/></xsl:value-of>
</xsl:template>
-----------------------------------
or is this a bug which could be fixed at the source?
thanks!
--
Sam Steingold <http://sds.podval.org>