1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-05-07 11:41:41 +03:00

73 Commits

Author SHA1 Message Date
Jérôme Carretero
adff7c36bd Allow per-context override of xsltMaxDepth, introduce xsltMaxVars
We also add a maxTemplateVars parameter
2012-03-20 21:18:59 +08:00
Daniel Mustieles
a2e32666e0 Fixed bug #616839 2012-03-19 21:46:45 +01:00
Joachim Breitner
ae2380fe27 567192 xsltproc --output option ignore --xinclude
* xsltproc/xsltproc.c: the option was not activating XInclude nor
  passing parser flags
2009-08-23 14:58:13 +02:00
Daniel Veillard
f113790a2d patch from Drazen Kacar to add a --encoding option fixes #443868 augment
* xsltproc/xsltproc.c: patch from Drazen Kacar to add a --encoding
  option fixes #443868
* doc/xsltproc.xml doc/xsltproc.1: augment and regenerate man page.
Daniel

svn path=/trunk/; revision=1438
2007-08-23 12:20:49 +00:00
William M. Brack
e1b7da0c1f enhanced to ignore empty text node in xsltDefaultProcessOneNode (avoid
* libxslt/transform.c: enhanced to ignore empty text node
          in xsltDefaultProcessOneNode (avoid calling xsltCopyText)
          (bug #354900)
        * xsltproc/xsltproc.c: added check for output file problem,
          yielding new error code 11 (Mike Hommey).
        * doc/xsltproc.html, doc/xsltproc.xml: added documentation
          for above, regenerated docs (doc/xlstproc.1)

svn path=/trunk/; revision=1414
2007-01-11 19:12:45 +00:00
Daniel Veillard
f32d5c181d applied fix for accessor functions of a stylesheet returning pointers to
* python/libxslt-python-api.xml: applied fix for accessor functions
  of a stylesheet returning pointers to immutable strings, patch
  from #320540
* xsltproc/xsltproc.c: fix the xinclude on stylehseet problem
  by adding a new parameter to xsltproc names --xincludestyle
Daniel
2006-10-11 21:19:49 +00:00
Daniel Veillard
e810227aff apply patch from Gary Coady to compile when libxml2 has no xinclude
* xsltproc/xsltproc.c: apply patch from Gary Coady to compile when
  libxml2 has no xinclude support #319886
* docs/*: renamed Gnome to GNOME fixes #352159
Daniel
2006-10-11 20:28:25 +00:00
Daniel Veillard
96f2cda8a7 applied patch from Daniel Leidert to fix some typo applied another patch
* doc/xslt.html python/tests/pyxsltproc.py xsltproc/xsltproc.c:
  applied patch from Daniel Leidert to fix some typo
* xsltproc.xml xsltproc.1: applied another patch from Daniel Leidert
  and regenerated
Daniel
2006-08-21 08:46:05 +00:00
Daniel Veillard
c73d033283 --xinclude should also force XInclude processing on the stylesheets
* xsltproc/xsltproc.c: --xinclude should also force XInclude
  processing on the stylesheets themselves, raised by Daniel Leidert
Daniel
2006-08-16 15:33:13 +00:00
Igor Zlatkovic
c4263a8233 Windows build cleanup, removed obsolete macro definitions 2005-04-06 22:02:14 +00:00
Daniel Veillard
23936b6bb8 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
2005-03-30 12:12:53 +00:00
Daniel Veillard
7eebda2dde working around Mark Vakoc' reported bug related to mode internaing adding
* libxslt/transform.c: working around Mark Vakoc' reported bug related
  to mode internaing
* xsltproc/xsltproc.c: adding a --nodict mode to check problems with
  document without a dictionnary.
* tests/REC/Makefile.am tests/general/Makefile.am: testing without
  dictionnary
Daniel
2005-03-29 19:07:56 +00:00
Daniel Veillard
b50ceb3058 applied patch from Aleksey Gurtovoy moving some stat() definition for
* libxslt/security.c xsltproc/xsltproc.c: applied patch from
  Aleksey Gurtovoy moving some stat() definition for Windows
  to the right place.
Daniel
2004-12-01 09:48:12 +00:00
Daniel Veillard
09b6bb82b3 implemented --nodtdattr to avoid defaulting DTD attributes, RFE 150311 .
* xsltproc/xsltproc.c: implemented --nodtdattr to avoid defaulting
  DTD attributes, RFE 150311 . Also cleanup the code from all
  libxml2 pre 2.6.0 specific code since we are using
  LIBXML_REQUIRED_VERSION=2.6.8 in configure.in
Daniel
2004-08-17 22:20:30 +00:00
William M. Brack
22570c760b added check for state XSLT_STATE_STOPPED when output file is used (bug
* xsltproc/xsltproc.c: added check for state XSLT_STATE_STOPPED
  when output file is used (bug 137341)
2004-03-17 10:51:06 +00:00
Daniel Veillard
6d8811b0de fixed #129327 make sure parser flags get transmitted to the transformation
* xsltproc.c: fixed #129327 make sure parser flags get transmitted to
  the transformation context
* libxslt/documents.c libxslt/transform.c libxslt/xsltInternals.h
  libxslt/xsltutils.c libxslt/xsltutils.h: add a new call
  xsltSetCtxtParseOptions() to update parsing options in document()
Daniel
2003-12-21 12:21:17 +00:00
Daniel Veillard
4d91881021 upp'ed the dependancy to libxml2-2.6.3 fixed #127473 by using the new
* configure.in: upp'ed the dependancy to libxml2-2.6.3
* libxslt/documents.c xsltproc/xsltproc.c: fixed #127473
  by using the new XInclude APIs provided by 2.6.3...
Daniel
2003-12-10 15:15:26 +00:00
Daniel Veillard
c05457fa41 switch to use xmlReadfile instead of xmlParseFile, this avoid relying on
* libxslt/documents.c libxslt/imports.c libxslt/xslt.c libxslt/xslt.h
  xsltproc/xsltproc.c: switch to use xmlReadfile instead of
  xmlParseFile, this avoid relying on global parser options, far
  far cleaner.
* tests/XSLTMark/xslbench1.out tests/general/bug-90.out: fixes a
  slightly corrected output for CDATA and STYLE element save.
Daniel
2003-10-31 14:56:30 +00:00
Daniel Veillard
eb955f5fe1 bump the libxml2 require to 2.6.0 which should ship for good real soon...
* configure.in: bump the libxml2 require to 2.6.0 which
  should ship for good real soon...
* doc/Makefile.am: fix installation of HTML pages
* doc/libxslt-api.xml: rebuilt
* libxslt/xsltexports.h: cleanup
* python/generator.py: ATTRIBUTE_UNUSED is after the parameter
* xsltproc/xsltproc.c: applied Crutcher Dunnavant --load-trace patch 2
Daniel
2003-10-19 21:35:47 +00:00
William M. Brack
1133731a3e minor cleanup for various compilation warnings (AIX as well as gcc)
* libxslt/numbers.c, libxslt/extensions.c, libexslt/date.c,
  python/libxslt.c, xsltproc/xsltproc.c: minor cleanup for
  various compilation warnings (AIX as well as gcc)
2003-09-28 01:45:49 +00:00
Daniel Veillard
1f23440f79 small fixes w.r.t. IS_XSLT_REAL_NODE change some makefile "distclean"
* libxslt/functions.c libxslt/numbers.c: small fixes w.r.t.
  IS_XSLT_REAL_NODE change
* python/Makefile.am Makefile.am: some makefile "distclean"
  target improvement from Graham Wilson
* xsltproc/xsltproc.c: small fix from Alexey Efimov for options
  display.
Daniel
2003-09-18 09:31:46 +00:00
Daniel Veillard
8d7c6499f7 removing the DocBook SGML support Daniel
* xsltproc/xsltproc.c doc/xsltproc.1 doc/xsltproc.xml
  libxslt/xsltutils.h: removing the DocBook SGML support
Daniel
2003-09-13 00:08:39 +00:00
William M. Brack
5814e8cf8b removed ref to libxslt.la Minor cleanup of warning errors
* breakpoint/Makefile.am: removed ref to libxslt.la
* numbers.c transform.c python/libxml_wrap.h python/types.c
  xlstproc/xsltproc.c: Minor cleanup of warning errors
2003-08-07 13:03:02 +00:00
Daniel Veillard
2885c5457c minor change, avoid wasting CPU cycles Daniel
* xsltproc/xsltproc.c: minor change, avoid wasting CPU cycles
Daniel
2003-08-03 21:40:52 +00:00
Daniel Veillard
1895007219 applying a patch based on #117377 for --path option. Daniel
* xsltproc/xsltproc.c: applying a patch based on #117377
  for --path option.
Daniel
2003-07-23 21:46:39 +00:00
Daniel Veillard
636a24b3d9 Moved the man pages to section 3 applied patch from Peter Breitenlohner
* libxslt.spec.in libexslt/Makefile.am libexslt/libexslt.3
  libxslt/Makefile.am libxslt/libxslt.3: Moved the man pages
  to section 3
* libexslt/sets.c: applied patch from Peter Breitenlohner
* doc/*: rebuilt the docs
* tests/docbook/result//* tests/xmlspec/*.html: changes in
  generattion of " as " in element content.
Daniel
2003-06-13 14:58:09 +00:00
Daniel Veillard
ada71b3bb5 fixing portability bug #113002 on HP-UX cleanup of --with-python like for
* xsltproc/xsltproc.c: fixing portability bug #113002 on HP-UX
* configure.in libxslt.spec.in python/Makefile.am: cleanup
  of --with-python like for libxml2
Daniel
2003-05-15 20:28:53 +00:00
Daniel Veillard
44d74fd937 had to comment out Igor last change since it made libxslt-1.0.27 depends
* xsltproc/xsltproc.c: had to comment out Igor last change
  since it made libxslt-1.0.27 depends on libxml2 newly
  API extension which hasn't propagated yet :-(
Daniel
2003-02-24 22:50:35 +00:00
Igor Zlatkovic
efa6575702 obsoleted xmlNormalizeWindowsPath 2003-02-19 15:04:05 +00:00
Daniel Veillard
46bb489dd4 fixed bug #99623 Daniel
* xsltproc/xsltproc.c: fixed bug #99623
Daniel
2003-02-04 23:09:40 +00:00
Daniel Veillard
4cf238e533 fixed a double free of stylesheet when applied to a standalone stylesheet
* xsltproc/xsltproc.c: fixed a double free of stylesheet
  when applied to a standalone stylesheet
Daniel
2003-01-17 16:45:00 +00:00
Daniel Veillard
921808c7b5 final touch to #102800 fix Daniel
* xsltproc/xsltproc.c: final touch to #102800 fix
Daniel
2003-01-10 09:35:13 +00:00
Daniel Veillard
12ac683775 tried to fix #102800 for good. Reenabled memory debug checking which got
* xsltproc/xsltproc.c: tried to fix #102800 for good. Reenabled
  memory debug checking which got deactivated at some point ?!?
* libexslt/date.c libxslt/attributes.c: fixing some memory leaks
* libxslt/xsltutils.c: very small change on HTML indentation handling
Daniel
2003-01-09 17:21:02 +00:00
Daniel Veillard
ccc8569012 make sure to register EXSLT for the bindings add a specific test minor
* python/libxslt.c: make sure to register EXSLT for the bindings
* python/tests/Makefile.am python/tests/exslt.py: add a specific test
* xsltproc/xsltproc.c: minor cleanup
Daniel
2002-11-16 22:26:08 +00:00
Igor Zlatkovic
6a270ae34b allowed stdarg for mingw 2002-11-14 17:49:20 +00:00
Daniel Veillard
d7627fbf78 remove the use of snprintf, and use libxml2 string API instead. try to
* xsltproc/xsltproc.c: remove the use of snprintf, and use
  libxml2 string API instead.
* configure.in libxslt/xsltconfig.h.in libxslt/xsltutils.c:
  try to cope with architecture lacking some of the string functions,
  reuse the trio ones compiled in libxml2 , should close #97113
Daniel
2002-11-04 17:04:59 +00:00
Igor Zlatkovic
63aa96c13e mapped snprintf to _snprintf for MS runtime 2002-10-20 13:24:47 +00:00
Daniel Veillard
a2c8490286 added and tested the --path option to close #79638 Daniel
* xsltproc: added and tested the --path option to close #79638
Daniel
2002-10-17 13:51:17 +00:00
Daniel Veillard
6b5af9ba4a added a --path option to provide the enhancement requested by #79638,
* xsltproc/xsltproc.c: added a --path option to provide the
  enhancement requested by #79638, first cur at it, untested yet.
Daniel
2002-10-15 11:04:51 +00:00
Daniel Veillard
14c7c9cf24 added another option --writesubtree to allow documents to be written only
* xsltproc/xsltproc.c: added another option --writesubtree to allow
  documents to be written only to  a given subtree.
Daniel
2002-10-10 16:50:17 +00:00
Daniel Veillard
159d00a5a0 new module with runtime security checks, it will also check and do
* libxslt/security.[ch] libxslt/Makefile.am: new module with
  runtime security checks, it will also check and do directory
  creation when allowed
* libxslt/documents.c libxslt/imports.c libxslt/transform.c
  libxslt/xslt.c libxslt/xsltInternals.h: plug-in the new
  security infrastructure probes at file reading or file creation
* xsltproc/xsltproc.c: plugged the security module there too,
  added the new options --nowrite and --nomkdir
* doc/*: updated the man page and regenerated.
Daniel
2002-10-10 15:26:25 +00:00
Daniel Veillard
5ebd21a46b added a example in the regression tests for a case where the XML default
* tests/docs/Makefile.am tests/docs/bug-87.xml
  tests/general/Makefile.am tests/general/bug-87.*: added a
  example in the regression tests for a case where the XML
  default namespace was missing from the namespace axis
* xsltproc/xsltproc.c: added the informations that parameter
  strings are expected to be UTF8
* libxslt/attributes.c: fixes on attribute group implementation
Daniel
2002-07-01 22:19:55 +00:00
Daniel Veillard
d2eb315a3d moved the extension dump out of the loop Daniel
* xsltproc/xsltproc.c: moved the extension dump out of the loop
Daniel
2002-05-16 17:38:09 +00:00
Daniel Veillard
0f879dd4f2 Applied Mark Vakoc patch to show registered extensions in xsltproc rebuilt
* libxslt/extensions.[ch]  xsltproc/xsltproc.c win32/libxslt.def.src:
  Applied Mark Vakoc patch to show registered extensions in xsltproc
* doc/*: rebuilt the API, docs and website
* python/libxsltclass.txt: this added an entry point
Daniel
2002-05-16 17:33:29 +00:00
Daniel Veillard
7fb3b3fc09 fixed some return code problems raised by Thomas Mauch Daniel
* xsltproc/xsltproc.c libxslt/xsltutils.c doc/xsltproc.xml:
  fixed some return code problems raised by Thomas Mauch
Daniel
2002-05-02 09:09:18 +00:00
Daniel Veillard
6ca5fcf67b removed a warning added xsltRunStylesheetUser() API needed to fix #78546
* libxslt/attributes.c: removed a warning
* libxslt/transform.c libxslt/transform.h win32/libxslt.def.src:
  added xsltRunStylesheetUser() API needed to fix #78546
* xsltproc/xsltproc.c: second part of the fix #78546
Daniel
2002-04-15 15:30:21 +00:00
Daniel Veillard
8af1c0b719 fixed bug #71488 in a similar way as #71457 Daniel
* configure.in xsltproc/xsltproc.c: fixed bug #71488 in a
  similar way as #71457
Daniel
2002-03-07 14:20:05 +00:00
Daniel Veillard
c0d41a178b similar to #72663 and #72658, don't memdump unless compiled explicitely
* xsltproc/xsltproc.c: similar to #72663 and #72658, don't memdump
  unless compiled explicitely with memory debugging switched on
* TODO: refreshed a bit
Daniel
2002-03-01 09:15:28 +00:00
Daniel Veillard
9de2bd46fc small fix cleanup avoid a problem with $(TESTS) augmented the wrappers
* xsltproc/xsltproc.c: small fix
* Makefile.am: cleanup
* python/tests/Makefile.am: avoid a problem with $(TESTS)
* python/generator.py python/libxml_wrap.h python/libxsl.py
  python/libxslt.c python/libxsltclass.txt: augmented the
  wrappers
* python/tests/pyxsltproc.py: rewrote xsltproc on top of the
  libxslt-python API to get an estimate of what is missing
Daniel
2002-02-07 17:02:34 +00:00
Daniel Veillard
6aaad01f28 added links to the Web site from usage() Daniel
* xsltproc/xsltproc.c: added links to the Web site from usage()
Daniel
2002-01-25 14:32:23 +00:00