Re: [xslt] xsltproc: too many params



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

I patched the source accordingly already,

 thanks for the report,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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