Re: [xslt] Parsing an incorrect xml string doesn't lead to an error

2014-02-13 Thread Nick Wellnhofer
On 13/02/2014 14:24, Charles G. wrote: I thought that if the type were different from toto in the xml, xsltapplystylesheet would exit with an error, but it doesn't. If you want to check if a transform was terminated, you can call 'xsltApplyStylesheetUser' with your own 'xsltTransformContextPt

[xslt] Parsing an incorrect xml string doesn't lead to an error

2014-02-13 Thread Charles G.
Hello, I've got a problem with the processing of an xml string. I am using libxslt to transform some xsl/xml files. But I encounter a crash in my code when I pass an incorrect value in my xml string because xsltapplystylesheet returns ok and the result is not the correct result (becau