[xslt] Return of xsltApplyStylesheet



I am confused about the return value of xsltApplyStylesheet when there 
is an error.

I have tried to generate a stylesheet run time error by using the 
document() function on a non existing document and by using an undefined 
extension namespace. In both cases, a non NULL value has been returned 
by xsltApplyStylesheet.

Are such failures considered as warning and, if yes, how can I trap them?

Thanks

Eric
-- 
See you in Orlando for XML 2001.
                                     http://www.xmlconference.net/xmlusa/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------




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