Re: [xslt] xsltGenericDebugContext & xsltGenericErrorContext mixed up?



On Mon, Jul 07, 2003 at 09:12:49AM -0700, Jerome Pesenti wrote:
> In transform.c (and in many other places) there is
> the following call:
> 
> xsltGenericError(xsltGenericDebugContext,
> "xsltApplyOneTemplate: problem with xsl:%s\n",
>                                  cur->name);
>   
> Should it be xsltGenericErrorContext instead of
> xsltGenericDebugContext????

  it depends if it's really an error, in which case processing must stop
or just debug (option -v of xsltproc). It's quite possible that there
are places where this mistake was done, I take patches :-)

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]