Re: [xslt] xsltproc: too many params



On Fri, Jan 04, 2002 at 09:36:55AM -0500, Daniel Veillard wrote:
> On Fri, Jan 04, 2002 at 03:11:41PM +0100, Elizabeth Mattijsen wrote:
> > I got burned by "too many params" error in xsltproc (1.0.9).  I raised the 
> > maximum number of parameters from 16 to 32 using this patch:
> 
>   okay this is a small limitation of xsltproc. I increased it to 64 
> because it's really not costly. I usually try to avoid such limitations
> but I didn't expected this one to be a problem ...
> 
> > The maximum number of parameters should probably become a constant and 
> > mentioned in the error message.  If someone can tell me to properly define 
> > a constant/macro for this in C (yes, my C is _very_ rusty), I'll provide a 
> > patch that uses constants/macro's.
> 
> #define MAX_PARAMETERS 64
> 

So the maximum number of paraments allowed now is 64/2=32 now, right?
(The man page must be updated accordingly :-)

Cheers,
-- 
John Fleck
jfleck@inkstain.net (h), http://www.inkstain.net/fleck/
"I've noticed that most artists only repeat themselves."
 - Marcel Duchamp




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]