diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-03-30 12:12:53 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-03-30 12:12:53 +0000 |
commit | 23936b6bb80423e75c42f7cf82deaf458d88f0ca (patch) | |
tree | 807072541b1485b6cfca5a428d40b528ce993a04 /xsltproc | |
parent | 71ea287919dcc0f136e0392e9aac9e10ad7c8ca4 (diff) | |
download | libxslt-23936b6bb80423e75c42f7cf82deaf458d88f0ca.tar.gz libxslt-23936b6bb80423e75c42f7cf82deaf458d88f0ca.tar.bz2 libxslt-23936b6bb80423e75c42f7cf82deaf458d88f0ca.zip |
fixed the xinclude problem with document() as in bug #171893 added a new
* xsltproc/xsltproc.c: fixed the xinclude problem with document()
as in bug #171893
* configure.in tests/Makefile.am tests/xinclude/*: added a new
xinclude directory with the test for this problem
Daniel
Diffstat (limited to 'xsltproc')
-rw-r--r-- | xsltproc/xsltproc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index 244826f1..10cae258 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -395,6 +395,8 @@ xsltProcess(xmlDocPtr doc, xsltStylesheetPtr cur, const char *filename) { if (ctxt == NULL) return; xsltSetCtxtParseOptions(ctxt, options); + if (xinclude) + ctxt->xinclude = 1; if (profile) { res = xsltApplyStylesheetUser(cur, doc, params, NULL, stderr, ctxt); |