[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: infinite output (xsltApplyOneTemplate: loop found ???)
Mauritz Jeanson wrote: >> -----Original Message----- >> From: Sam Steingold >>> Please try the following patch against your local copy of >>> common/titles.xsl >>> >>> Index: titles.xsl >>> =================================================================== >>> --- titles.xsl (revision 7496) >>> +++ titles.xsl (working copy) >>> @@ -671,7 +671,7 @@ >>> <!-- nop, suppressed --> >>> </xsl:template> >>> >>> -<xsl:template match="xref|link" mode="no.anchor.mode"> >>> +<xsl:template match="xref" mode="no.anchor.mode"> >>> <xsl:variable name="targets" select="key('id',@linkend)"/> >>> <xsl:variable name="target" select="$targets[1]"/> >>> <xsl:variable name="refelem" select="local-name($target)"/> >> this fixed the problem, thanks. > > > If this patch is committed, which is the same as reverting the change to > titles.xsl that I made on 2007-09-30, then the bug (#1759205) that brought > about that change will be reintroduced. However, I made a mistake by > forgetting to remove the old template matching "link" in no.anchor.mode > mode. I have now corrected that, and if we're really lucky, your problem > disappears too. > > Sam, can you do another test with the most recent snapshot? And if this does > not help, please file a proper bug report and provide all the details needed > to reproduce the problem. https://sourceforge.net/tracker/index.php?func=detail&aid=1811721&group_id=21935&atid=373747
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]