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 325287 - Patch: documentation for xsltSaveResultToString
Patch: documentation for xsltSaveResultToString
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
git master
Other All
: Normal trivial
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-30 10:07 UTC by James Bursa
Modified: 2006-01-04 13:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description James Bursa 2005-12-30 10:07:20 UTC
The documentation for xsltSaveResultToString is currently the same as for xsltSaveResultToFilename.

diff -u -d -w -r1.92 xsltutils.c
--- xsltutils.c 14 Sep 2005 12:35:35 -0000      1.92
+++ xsltutils.c 30 Dec 2005 09:47:53 -0000
@@ -1544,9 +1544,9 @@
  * @style:  the stylesheet
  *
  * Save the result @result obtained by applying the @style stylesheet
- * to a file or @URL
+ * to a new allocated string.
  *
- * Returns the number of byte written or -1 in case of failure.
+ * Returns 0 in case of success and -1 in case of error
  */
 int
 xsltSaveResultToString(xmlChar **doc_txt_ptr, int * doc_txt_len,
Comment 1 Daniel Veillard 2006-01-04 13:51:18 UTC
Applied, will commit later.
   Thanks !

Daniel