Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Wez Furlong
On 18/04/02, "Ken Egervari" <[EMAIL PROTECTED]> wrote: > I'm actually very unimpressed with how the people get all defensive, witty, > immature and whatever else to the list. Don't read this like, "Oh Ken is > now attacking me". I'm not doing that. It just seems that I post (what I > thought) t

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Marcus Börger
Not noticing space is a *the* common pitfall in xslt! If you before 4.1.2 had spaces and it spit out a,b then the earlier version did not count the text-nodes and therefore was erroneous. marcus and good morning to Matt - i am nearly going to bed if there wasn't so much work left At 20:12 1

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Sterling Hughes
to the php developers. Mix that with your recent PHP framework psuedo-intellectual masturbation that you've so kindly ejaculated into our conciousness for the past few days -- you get a group of very annoyed developers. -Sterling > - Original Message - > From: "Wez Furlong" &

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Ken Egervari
ahh, that makes sense. actually would do it too. Cool. - Original Message - From: "Matt McClanahan" <[EMAIL PROTECTED]> To: "Ken Egervari" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 2:12 PM Subject: Re: [PHP-DEV

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Matt McClanahan
On Thu, Apr 18, 2002 at 02:09:01PM -0400, Ken Egervari wrote: > I know that there is a workaround (which is obvious), but I just > wanted to report it. position() is supposed to return the position > of the node within the current node list. So i'd expect 1,2,3,4...N. > It's just strange why i

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Ken Egervari
;m just playing around and noticed it. this isn't production code at all. - Original Message - From: "Matt McClanahan" <[EMAIL PROTECTED]> To: "Ken Egervari" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 1:48 PM Subj

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Ken Egervari
t this solved because that is a good thing that we fix bugs". But one reply after the other and everything blown out of proportion. It makes no sense. - Original Message - From: "Wez Furlong" <[EMAIL PROTECTED]> To: "Ken Egervari" <[EMAIL PROTECTED]> Cc:

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Ken Egervari
immature. - Original Message - From: "Sterling Hughes" <[EMAIL PROTECTED]> To: "Ken Egervari" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 2:31 PM Subject: Re: [PHP-DEV] XSLT bug > > Sorry, but if you have

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Matt McClanahan
On Thu, Apr 18, 2002 at 12:57:21AM -0400, Ken Egervari wrote: > If I have an XML document with 2 applications nodes and the following > template in the style sheet > > > > > > > > the result is > > b. the name > d. the name2 > > When I think it should be "a. " and "b .". Fo

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Wez Furlong
Have you tried running it through command line xslt processors? xsltproc (part of libxslt) gives me this output: bthe name dthe name2 Admittedly, it's not identical to the output you were getting, but then it's using a different XSLT processor. The point is that it is still b and d. If there wa

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Sterling Hughes
> Sorry, but if you have a problem your tires, you usually go to the > dealership's service department instead of going to the manufacturer. 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). Hi, I'm Joe, out

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Dan Kalowsky
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. 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 n

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread derick
TED]> > Cc: <[EMAIL PROTECTED]> > 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

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread Ken Egervari
Sorry, but if you have a problem your tires, you usually go to the dealership's service department instead of going to the manufacturer. 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).

Re: [PHP-DEV] XSLT bug

2002-04-18 Thread derick
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 >

[PHP-DEV] XSLT bug

2002-04-18 Thread Ken Egervari
If I have an XML document with 2 applications nodes and the following template in the style sheet 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.