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 58002 - Pass transform context to applyStyleSheetInternal
Pass transform context to applyStyleSheetInternal
Status: VERIFIED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2001-07-24 17:40 UTC by Tom Moog
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
text file outlining changes (2.47 KB, text/plain)
2001-07-26 19:33 UTC, Tom Moog
Details

Description Tom Moog 2001-07-24 17:40:29 UTC
Thank-you for adding _private to the transform context.

The main thing I'm interested in is allowing a transform context to be
passed to xsltApplyStyleSheetInternal so that the _private member can
actually be utilized.  As it is now, the transform context is created
inside xsltApplyStyleSheetInternal so that there is no opportunity for an
application program to add information to the context prior to its being
used.  The mechanism I've been using is to pass an extra argument with an
initialized context which will be used if it is not null in preference to a
creating a new transform context.

I will attach the file with the changes as a separate item.
Comment 1 Tom Moog 2001-07-26 19:33:32 UTC
Created attachment 790 [details]
text file outlining changes
Comment 2 Daniel Veillard 2001-07-26 20:46:00 UTC
Applied except I preferred to export a new function rather than the
Internal one:

xmlDocPtr
xsltApplyStylesheetUser(xsltStylesheetPtr style, xmlDocPtr doc,
                            const char **params, const char *output,
                            FILE * profile, xsltTransformContextPtr
userCtxt)

  thanks a lot,

Daniel
Comment 3 Daniel Veillard 2001-08-15 16:06:23 UTC
Should be part of 1.0.2 release,

 thanks

Daniel