[xslt] How I can detect processing errors ?
- From: Vladimir Grebenschikov <vova sw ru>
- To: xslt gnome org
- Subject: [xslt] How I can detect processing errors ?
- Date: Wed, 03 Mar 2004 13:39:57 +0300
Hi
While executing following pice of code:
result = xsltApplyStylesheet(styleSheet, data, vars);
I get a lot of errors on stderr:
-----------------------------------
runtime error: file /var/vzcp/xsl/lib/globals.xsl line 11 element
variable
unregistered variable skin
xmlXPathCompiledEval: 1 object left on the stack
runtime error: file /var/vzcp/xsl/lib/globals.xsl line 11 element
variable
Evaluating global variable being computed ... failed
runtime error: file /var/vzcp/xsl/lib/globals.xsl line 14 element
variable
unregistered variable skinObj
xmlXPathCompiledEval: evaluation failed
runtime error: file /var/vzcp/xsl/lib/globals.xsl line 14 element
variable
Evaluating global variable being computed ... failed
-----------------------------------
but result is returned ad not NULL
how I should detect their errors ?
PS:
Following xsltSaveResultToString() returns NULL in buf but is it right
way ???
--
Vladimir B. Grebenschikov
SWsoft Inc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]