GNOME Bugzilla – Bug 382570
Behavior change in xsltParseStylesheetImportedDoc
Last modified: 2007-08-23 13:41:05 UTC
During the code refactoring, the return value from the call to xsltParseStylesheetProcess is no longer tested. Consequentially, if xsltParseStylesheetProcess returns NULL, xsltParseStylesheetImportedDoc no longer returns NULL but rather a xsltStylesheetPtr. Example: Pass an empty doc to xsltParseStylesheetImportedDoc. This results in xsltParseStylesheetProcess returning NULL yet xsltParseStylesheetImportedDoc no longer returns NULL in this case.
Okay, I applied your patch provided independantly, fixed in SVN head, thanks, Daniel