Reece Dunn wrote: > line 1080 of type.xsl is: > 1078: <xsl:variable name="end" select="$indentation > 1079: + string-length($result) > 1080: - string-length($prefix)"/> > > as part of an xsl:choose/xsl:otherwise (switch/default) statement, but > there is another xsl:variable called end at line 1041: > 1041: <xsl:variable name="end" select="$column + > string-length($result)"/> > > in the xsl:template at line 1011.
Oh, so XSTL has only one scope for variables. > >The error is repeated several times and build is terminated. The simplest > >reproduction recipe is at: > > > > http://zigzag.cs.msu.su:7813/Boostbook > > > >The XML file hasn't changed for a long time, so it's HPP file that's > >causing > >troubles -- which has nothing but a single enum. > > The problem is with type.xsl, not the XML or HPP files. I seems that the HPP file cause execution of xsl:otherwise, which is not regularly executed, and so triggers this bug. > > >Help in resolving this problem is very appreciated. > > The solution would be to rename the variable end at line 1078: > > 1078 - <xsl:variable name="end" select="$indentation > 1078 + <xsl:variable name="end2" select="$indentation > > and the place where it is used: > > 1084 - <xsl:with-param name="column" select="$end"/> > 1084 + <xsl:with-param name="column" select="$end2"/> Thanks! I've made this change and everything works. I've commited the fix. - Volodya ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Boost-docs mailing list [EMAIL PROTECTED] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
