Re: XSLT bug

From: Date: Thu, 18 Apr 2002 17:24:46 +0000
Subject: Re: XSLT bug
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-82939@lists.php.net to get a copy of this message
On Thu, 18 Apr 2002, Ken Egervari wrote: > Sorry, but if you have a problem your tires, you usually go to the > dealership's service department instead of going to the manufacturer. Your point is that we should fix others' bugs? > And this is a bug. It used to work 4.1.0/4.1.1 and now that I have 4.1.2 it > doesn't work (probably due to a newer sablotron release). Then test that first before accusing PHP being buggy. Derick > > ----- Original Message ----- > From: <derick@php.net> > To: "Ken Egervari" <ken@positive-edge.com> > Cc: <php-dev@lists.php.net> > Sent: Thursday, April 18, 2002 1:12 PM > Subject: Re: [PHP-DEV] XSLT bug > > > > Hello, > > > > this is not a PHP bug, I even wonder if it's really a bug at all. If there > > is a bug, which I dont think there is, it's in sablotron. > > > > Derick > > > > On Thu, 18 Apr 2002, Ken Egervari wrote: > > > > > If I have an XML document with 2 applications nodes and the following > template in the style sheet > > > > > > <xsl:template match="application"> > > > <xsl:number format="a" value="position()" /> > > > <xsl:value-of select="@name" /> > > > <br /> > > > </xsl:template> > > > > > > the result is > > > > > > b. the name > > > d. the name2 > > > > > > When I think it should be "a. " and "b .". For some reason, > > > position() > is returning the wrong result. > > > > > > > ----------------------------------------------------------------------- > > Did I help you? Consider a gift: > > > > http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B > > ----------------------------------------------------------------------- > > PHP: Scripting the Web - derick@php.net > > All your branches are belong to me! > > SRM: Script Running Machine - www.vl-srm.net > > ----------------------------------------------------------------------- > > > > > ----------------------------------------------------------------------- Did I help you? Consider a gift: http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B ----------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net -----------------------------------------------------------------------

« previous php.dev (#82939) next »