Re: [xslt] xsltParseStylesheetDoc Crash



On Tue, Mar 25, 2003 at 10:33:50AM -0400, Jason Keirstead wrote:
> I use xmlParseMemory and xslParseMemory to create the xmlDocPtrs
> for the two documents, then I want to use xsltParseStylesheetDoc to
> create the XSL style sheet, and xsltApplyStylesheet to transform it.
> 
> The two strings I am inputting are known good documents, and when
> I use xmlDebugDumpDocument to dump them to stdout, they look
> fine. However, when I call xsltParseStylesheetDoc on the 
> xmlDocPtr for my XSL, I get a crash with this output:
>  
> #2  0x418dfe1a in __pthread_sighandler () from /lib/libpthread.so.0
> #3  <signal handler called>
> #4  xsltGatherNamespaces (style=0x82c7e78) at xslt.c:1302
> #5  0x402369cb in xsltParseStylesheetImportedDoc (doc=0x82c7e78) at xslt.c:1980
> #6  0x40236a32 in xsltParseStylesheetDoc (doc=0xfffffe00) at xslt.c:2003
> 
> I have been trying to solve this for quite some time now, and came up empty.
> Below is the code I am using (Note to non-Qt devels, QCString is equivalent

  I won't debug your code, but I will make sure that libxslt is fine
with the documents. Provide me the stylesheets and input, if they provide
troubles with xsltproc, then that mean the problem is in libxslt or
libxml2 and I will debug it.

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]