projects
/
platform
/
upstream
/
libxslt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb1fe4
)
567192 xsltproc --output option ignore --xinclude
author
Joachim Breitner
<nomeata@debian.org>
Sun, 23 Aug 2009 12:58:13 +0000
(14:58 +0200)
committer
Daniel Veillard
<veillard@redhat.com>
Sun, 23 Aug 2009 12:58:13 +0000
(14:58 +0200)
* xsltproc/xsltproc.c: the option was not activating XInclude nor
passing parser flags
xsltproc/xsltproc.c
patch
|
blob
|
history
diff --git
a/xsltproc/xsltproc.c
b/xsltproc/xsltproc.c
index
e665dff
..
e978a63
100644
(file)
--- a/
xsltproc/xsltproc.c
+++ b/
xsltproc/xsltproc.c
@@
-461,6
+461,11
@@
xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) {
ctxt = xsltNewTransformContext(cur, doc);
if (ctxt == NULL)
return;
+ xsltSetCtxtParseOptions(ctxt, options);
+#ifdef LIBXML_XINCLUDE_ENABLED
+ if (xinclude)
+ ctxt->xinclude = 1;
+#endif
if (profile) {
ret = xsltRunStylesheetUser(cur, doc, params, output,
NULL, NULL, stderr, ctxt);