Hi all, I'm new to this list so please forgive me any faux-pas and please correct me if necessary.
My problem: I'm maintaining the Documentation and FAQ for the game engine project Exult (http://exult.sf.net). For years I've used a combination of xml and xsl files to generate the html, php and text versions of our documentation. On top of our documentation we provide a changelog with which we begin numbering our chapters/sections but since it is only the changes we start at 0 by doing: <xsl:template name="TOC"> <xsl:for-each select="section"> <xsl:number level="multiple" count="section" format="1. " value="position() -1"/> <xsl:value-of select="@title"/><xsl:text>
</xsl:text> When using xalan-j 2.6.0 this gives me a result which looks like ------------------- 0. Changes to the Documentation 0.1. - 15 August 2010 0.2. - 28 April 2010 . . . 1. Introduction 1.1. Exult Version 1.2. What is Exult? 1.3. Terms we use in regard to Exult and Ultima 7 . . . ------------------- But when I use xalan-j 2.7.0 or 2.7.1 I get ------------------- 0Changes to the Documentation 01. - 15 August 2010 02. - 28 April 2010 . . . 1. Introduction 1.1. Exult Version 1.2. What is Exult? 1.3. Terms we use in regard to Exult and Ultima 7 . . . ------------------- Anyone know why this is happening? Is this a known bug or should I try to submit a bug report? Or is this plain user error? I know 2.7.x has been out for a while now and I've run into the problem back when it was released but never found time to actually report this, used the 2.6.0 version and kind of forgot about this. Now I remembered it and wanted to report it anyway :) Our documentation in php can be found at http://exult.sourceforge.net/docs.php, our svn is at svn co https://exult.svn.sourceforge.net/svnroot/exult exult At http://exult.svn.sourceforge.net/viewvc/exult/exult/trunk/docs/xml/ you can browse the xml/xsl stuff, a sourcecode snapshot can be downloaded at http://www.math.leidenuniv.nl/~wpalenst/cvs/exult-svn.tar.gz I used to do this on Windows and am pretty sure I ran into the same problem back then, now I'm on OS X and my java has the version java -showversion java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) Do you need any other information? Thanks and take care Dominik