After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 382570 - Behavior change in xsltParseStylesheetImportedDoc
Behavior change in xsltParseStylesheetImportedDoc
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-05 11:32 UTC by Rob Richards
Modified: 2007-08-23 13:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rob Richards 2006-12-05 11:32:33 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.
Comment 1 Daniel Veillard 2007-08-23 13:41:05 UTC
Okay, I applied your patch provided independantly,
fixed in SVN head,

  thanks,

Daniel