Re: [xslt] bug while reporting errors in libxslt



On Thu, Apr 19, 2001 at 12:51:09PM -0700, Vadim Zaliva wrote:
> Hi!
> 
> In my code I found that sometimes GenericErrorFunc is called with bad
> pointer, attempt to print which causes core dump.

  It seems you hit a bug in the error routine reporting of libxml.
It was reported and fixed independantly:
    http://bugzilla.gnome.org/show_bug.cgi?id=53536

  it will be fixed in next released version (1.3.8 ?).
  In this case the XSL file is not a well formed XML file so
processing stops really early:

orchis:~/XSLT/libxslt -> ./xsltproc tst.xsl tst.xml
tst.xsl:1: error: Start tag expected, '<' not found
***<!--
^
xsltParseStylesheetFile : cannot parse tst.xsl
orchis:~/XSLT/libxslt -> 

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
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]