platform/upstream/libxslt.git
18 years agoapplied man page improvement from Daniel Leidert Daniel
Daniel Veillard [Thu, 6 Apr 2006 08:17:32 +0000 (08:17 +0000)]
applied man page improvement from Daniel Leidert Daniel

* doc/xsltproc.1 doc/xsltproc.xml: applied man page improvement
  from Daniel Leidert
Daniel

18 years agoFixed FTP links, Daniel
Daniel Veillard [Mon, 3 Apr 2006 15:23:55 +0000 (15:23 +0000)]
Fixed FTP links, Daniel

18 years agoFixed regression tests wrt usage of the attributes
Kasimier T. Buchcik [Thu, 30 Mar 2006 15:31:11 +0000 (15:31 +0000)]
Fixed regression tests wrt usage of the attributes

* tests/general/bug-36-inc.xsl tests/general/bug-37-inc.xsl
  tests/general/bug-65-inc.xsl tests/general/bug-100.xsl
  tests/REC/test-15-1.xsl tests/REC/test-7.1.1-3.xsl
  tests/namespaces/extra2.xsl tests/extensions/module.xsl
  tests/plugins/plugin.xsl python/tests/extelem.py
  python/tests/extfunc.py: Fixed regression tests wrt
  usage of the attributes "exclude-result-prefixes"
  and "extension-element-prefixes". test-7.1.1-3.xsl fails
  now, since the code still does not exclude ns-decls
  correctly.

18 years agoEliminated usage of xsltGetNsProp() in cases where an attribute with a
Kasimier T. Buchcik [Thu, 30 Mar 2006 15:21:42 +0000 (15:21 +0000)]
Eliminated usage of xsltGetNsProp() in cases where an attribute with a

* libxslt/xslt.c libxslt/xsltutils.c libxslt/preproc.c
  libxslt/namespaces.c libxslt/imports.c
  libxslt/attributes.c: Eliminated usage of xsltGetNsProp() in cases
  where an attribute with a specific namespace is requested.
  xsltGetNsProp() uses xmlGetProp() which is not namespace aware
  and thus will return the first attribute with the requested
  name but of arbitrary namespace.
  Changed retrieval of the attributes "exclude-result-prefixes"
  and "extension-element-prefixes", which are expected to be in
  no namespace on XSLT elements and in the XSLT namespace on
  literal result elements or extension elements.
  Additional change: for XSLT elements the attribute
  "exclude-result-prefixes" is only allowed on xsl:stylesheet
  and xsl:transform. This attribute was previously processed on
  all XSLT elements.

18 years agoCharles Hardin pointed an OOM condition where a NULL pointer could be
Daniel Veillard [Wed, 29 Mar 2006 10:17:37 +0000 (10:17 +0000)]
Charles Hardin pointed an OOM condition where a NULL pointer could be

* libxslt/transform.c: Charles Hardin pointed an OOM condition where
  a NULL pointer could be dereferenced, closes #336394
Daniel

18 years agovarious assorted small cleanups based on the Coverity reports Daniel
Daniel Veillard [Fri, 10 Mar 2006 11:51:20 +0000 (11:51 +0000)]
various assorted small cleanups based on the Coverity reports Daniel

* libexslt/crypto.c libexslt/date.c libexslt/saxon.c
  libxslt/attributes.c libxslt/imports.c libxslt/pattern.c
  libxslt/preproc.c libxslt/transform.c libxslt/variables.c
  libxslt/xslt.c libxslt/xsltutils.c: various assorted small cleanups
  based on the Coverity reports
Daniel

18 years agoupdate help about unwanted legal notices, daniel
Daniel Veillard [Thu, 9 Mar 2006 13:08:29 +0000 (13:08 +0000)]
update help about unwanted legal notices, daniel

18 years agoNic Ferrier found debug statement left in the XPath conversion code Daniel
Daniel Veillard [Wed, 22 Feb 2006 15:11:07 +0000 (15:11 +0000)]
Nic Ferrier found debug statement left in the XPath conversion code Daniel

* python/types.c: Nic Ferrier found debug statement left in the
  XPath conversion code
Daniel

18 years agonew update from Daniel Leidert Daniel
Daniel Veillard [Tue, 21 Feb 2006 19:22:15 +0000 (19:22 +0000)]
new update from Daniel Leidert Daniel

* doc/xsltproc.1 doc/xsltproc.xml: new update from Daniel Leidert
Daniel

18 years agoapplied patch from Christopher R. Palmer to avoid a race condition in
Daniel Veillard [Tue, 21 Feb 2006 17:02:03 +0000 (17:02 +0000)]
applied patch from Christopher R. Palmer to avoid a race condition in

* libxslt/extensions.c libxslt/xslt.c libxslt/xslt.h
  libxslt/xsltInternals.h: applied patch from Christopher R. Palmer
  to avoid a race condition in xsltInit()
Daniel

18 years agoimprovement of the man page by Daniel Leidert, c.f. #331779 Daniel
Daniel Veillard [Sun, 19 Feb 2006 21:42:25 +0000 (21:42 +0000)]
improvement of the man page by Daniel Leidert, c.f. #331779 Daniel

* doc/xsltproc.1 doc/xsltproc.xml: improvement of the man page
  by Daniel Leidert, c.f. #331779
Daniel

18 years agofix xsltSaveResultToString comment detect loops when computing variables,
Daniel Veillard [Sat, 11 Feb 2006 12:14:10 +0000 (12:14 +0000)]
fix xsltSaveResultToString comment detect loops when computing variables,

* libxslt/xsltutils.c: fix xsltSaveResultToString comment
* libxslt/transform.c: detect loops when computing variables, should
  fix bug #330772
* doc/xsltproc.xml doc/xsltproc.1: fix typo in man page
* tests/namespaces/tst7.out tests/general/bug-152.out: small output
  changes due to libxml2 xhtml meta handling modification
Daniel

18 years agoAlbert Chin found another signed/unsigned problem in the date and time
Daniel Veillard [Mon, 21 Nov 2005 11:23:58 +0000 (11:23 +0000)]
Albert Chin found another signed/unsigned problem in the date and time

* libexslt/date.c: Albert Chin found another signed/unsigned problem
  in the date and time code raised on IRIX 6.5
Daniel

18 years agopatch from Albert Chin needed for HP-UX which doesn't have <sys/select.h>
Daniel Veillard [Mon, 21 Nov 2005 11:08:22 +0000 (11:08 +0000)]
patch from Albert Chin needed for HP-UX which doesn't have <sys/select.h>

* libexslt/crypto.c: patch from Albert Chin needed for HP-UX
  which doesn't have <sys/select.h>
Daniel

18 years agoAlbert Chin posted a patch to fix a problem on Solaris with dates,
Daniel Veillard [Mon, 21 Nov 2005 11:06:22 +0000 (11:06 +0000)]
Albert Chin posted a patch to fix a problem on Solaris with dates,

* libexslt/date.c: Albert Chin posted a patch to fix a problem on
  Solaris with dates, extended bitfield size too to match libxml2
  code from xmlschemastypes.c
Daniel

18 years agofix an problem raised by Ralf Junker in the use of xmlHashScanFull() fixes
Daniel Veillard [Wed, 16 Nov 2005 11:48:24 +0000 (11:48 +0000)]
fix an problem raised by Ralf Junker in the use of xmlHashScanFull() fixes

* libexslt/functions.c: fix an problem raised by Ralf Junker in the
  use of xmlHashScanFull() fixes bug #321582
Daniel

18 years agoFixing references to zveno.com, Daniel
Daniel Veillard [Mon, 7 Nov 2005 21:40:13 +0000 (21:40 +0000)]
Fixing references to zveno.com, Daniel

18 years agoFixed Mac Os X download linkx, Daniel
Daniel Veillard [Mon, 7 Nov 2005 13:18:53 +0000 (13:18 +0000)]
Fixed Mac Os X download linkx, Daniel

18 years agoFixed Max OS X download links, Daniel
Daniel Veillard [Mon, 7 Nov 2005 13:18:34 +0000 (13:18 +0000)]
Fixed Max OS X download links, Daniel

18 years agoadded a missing parameter to a debug function Daniel
Daniel Veillard [Sun, 6 Nov 2005 18:23:25 +0000 (18:23 +0000)]
added a missing parameter to a debug function Daniel

* libxslt/attrvt.c: added a missing parameter to a debug function
Daniel

18 years agoapplied fix to date:week-in-year posted to the mailing list by Thomas
William M. Brack [Tue, 4 Oct 2005 12:37:43 +0000 (12:37 +0000)]
applied fix to date:week-in-year posted to the mailing list by Thomas

* libexslt/date.c: applied fix to date:week-in-year posted to
  the mailing list by Thomas Broyer
* tests/exslt/date/date.1.out, tests/exslt/date/datetime.1.out:
  updated to reflect above fix

18 years agoapplied patch from Joel Reed to ease plugin integration Daniel
Daniel Veillard [Sun, 2 Oct 2005 09:52:09 +0000 (09:52 +0000)]
applied patch from Joel Reed to ease plugin integration Daniel

* configure.in libxslt/Makefile.am libxslt/xsltconfig.h.in
  libxslt.spec.in tests/plugins/Makefile.am xslt-config.in: applied
  patch from Joel Reed to ease plugin integration
Daniel

18 years agofixed problem in internal XPath compilation of patterns including
William M. Brack [Fri, 23 Sep 2005 08:15:21 +0000 (08:15 +0000)]
fixed problem in internal XPath compilation of patterns including

* libxslt/pattern.c: fixed problem in internal XPath compilation
  of patterns including variables, fixes #316861

18 years agoremoved a superfluous second sorting of the node set on xsl:copy-of, fixes
Daniel Veillard [Wed, 14 Sep 2005 12:35:35 +0000 (12:35 +0000)]
removed a superfluous second sorting of the node set on xsl:copy-of, fixes

* libxslt/transform.c: removed a superfluous second sorting of
  the node set on xsl:copy-of, fixes #316288
* libxslt/xsltutils.c: marked xsltDocumentSortFunction as slow,
  obsolete and deprecated :-)
Daniel

18 years agocheck environment for PYTHON, fixes #315367 Daniel
Daniel Veillard [Sat, 10 Sep 2005 12:34:55 +0000 (12:34 +0000)]
check environment for PYTHON, fixes #315367 Daniel

* configure.in: check environment for PYTHON, fixes #315367
Daniel

18 years agoSmall fix of the spec file, Daniel
Daniel Veillard [Sun, 4 Sep 2005 23:07:34 +0000 (23:07 +0000)]
Small fix of the spec file, Daniel

18 years agopreparing release 1.1.15 a bit more cleanup Daniel
Daniel Veillard [Sun, 4 Sep 2005 22:45:16 +0000 (22:45 +0000)]
preparing release 1.1.15 a bit more cleanup Daniel

* configure.in NEWS doc/*: preparing release 1.1.15
* libxslt/pattern.c libxslt/xsltutils.c: a bit more cleanup
Daniel

18 years agofixed #303289 variable in match are forbidden had to fix that test which
Daniel Veillard [Sun, 4 Sep 2005 22:09:19 +0000 (22:09 +0000)]
fixed #303289 variable in match are forbidden had to fix that test which

* libxslt/pattern.c: fixed #303289 variable in match are forbidden
* tests/general/bug-89.xsl: had to fix that test which was doing this
* tests/general/bug-142.out tests/general/bug-152.out
  tests/namespaces/tst7.out: small output change on libxml2-2.6.21
  new way of serializing encoding meta in HTML
Daniel

18 years agofixed 314936 a dictionnary issue on text node merging, which probably
Daniel Veillard [Wed, 31 Aug 2005 11:50:41 +0000 (11:50 +0000)]
fixed 314936 a dictionnary issue on text node merging, which probably

* libxslt/transform.c: fixed 314936 a dictionnary issue on text
  node merging, which probably fixed #311267 too.
Daniel

18 years agolibxslt should deallocate directly text node content use
Daniel Veillard [Thu, 25 Aug 2005 11:30:24 +0000 (11:30 +0000)]
libxslt should deallocate directly text node content use

* libxslt/xslt.c: libxslt should deallocate directly text node content
  use xmlSetNodeContent(..., NULL)
Daniel

18 years agocheck fix for #310692 Daniel
Daniel Veillard [Fri, 12 Aug 2005 10:18:54 +0000 (10:18 +0000)]
check fix for #310692 Daniel

* tests/general/bug-163.*, tests/general/Makefile.am,
  tests/docs/bug-163.*, tests/docs/Makefile.am: check fix for
  #310692
Daniel

18 years agotry to get rid of complaints from jhbuild newbies. Daniel
Daniel Veillard [Tue, 9 Aug 2005 20:13:48 +0000 (20:13 +0000)]
try to get rid of complaints from jhbuild newbies. Daniel

* tests/plugins/Makefile.am: try to get rid of complaints from
  jhbuild newbies.
Daniel

18 years agofixed a bug when size of xmlXPathContext changes, uses the libxml2 alloc
Daniel Veillard [Sun, 7 Aug 2005 14:06:21 +0000 (14:06 +0000)]
fixed a bug when size of xmlXPathContext changes, uses the libxml2 alloc

* libxslt/xsltutils.c: fixed a bug when size of xmlXPathContext
  changes, uses the libxml2 alloc and dealloc functions instead.
Daniel

18 years agoadded check in xsltCopyText to assure content is in dictionary before
William M. Brack [Thu, 14 Jul 2005 05:52:20 +0000 (05:52 +0000)]
added check in xsltCopyText to assure content is in dictionary before

* libxslt/transform.c: added check in xsltCopyText to assure
  content is in dictionary before doing a straight copy of
  content (bug 302821)

18 years agofixed to set current default value for XInclude when creating new
William M. Brack [Wed, 13 Jul 2005 23:21:23 +0000 (23:21 +0000)]
fixed to set current default value for XInclude when creating new

* libxslt/transform.c: fixed to set current default value for
  XInclude when creating new TransformContext
* libxslt/xslt.c: minor change for per-mille

18 years agotry to avoid generating conflicts applied patch from Mark Vakoc to
Daniel Veillard [Sun, 10 Jul 2005 14:20:06 +0000 (14:20 +0000)]
try to avoid generating conflicts applied patch from Mark Vakoc to

* libxslt/xsltwin32config.h*: try to avoid generating conflicts
* libexslt/dynamic.c: applied patch from Mark Vakoc to implement
  dyn:map
* configure.in tests/exslt/Makefile.am tests/exslt/dynamic/*:
  added test for dyn:map to the regression suite
Daniel

18 years agofurther fixes for bug 309209, changing behaviour of format-number. changed
William M. Brack [Sat, 2 Jul 2005 09:40:14 +0000 (09:40 +0000)]
further fixes for bug 309209, changing behaviour of format-number. changed

* libxslt/numbers.c: further fixes for bug 309209, changing
  behaviour of format-number.
* libxslt/xslt.c: changed definition of per-mille character from
  '?' to Unicode #2030 (UTF-8 '‰') (ref XSLT spec 12.3)

18 years agoAdded this file back. We'll have to figure out a way to make jhbuild not
Federico Mena Quintero [Fri, 1 Jul 2005 02:38:38 +0000 (02:38 +0000)]
Added this file back. We'll have to figure out a way to make jhbuild not

2005-06-30  Federico Mena Quintero  <federico@ximian.com>

* libxslt/xsltwin32config.h: Added this file back.  We'll have to
figure out a way to make jhbuild not get CVS conflicts with it.

18 years agofixed bug in negative prefix (bug 309209)
William M. Brack [Thu, 30 Jun 2005 21:09:55 +0000 (21:09 +0000)]
fixed bug in negative prefix (bug 309209)

* libxslt/numbers.c: fixed bug in negative prefix (bug 309209)

18 years agoRemoved from CVS; this is a generated file anyway and it breaks jhbuild
Federico Mena Quintero [Fri, 17 Jun 2005 20:27:24 +0000 (20:27 +0000)]
Removed from CVS; this is a generated file anyway and it breaks jhbuild

2005-06-17  Federico Mena Quintero  <federico@ximian.com>

* libxslt/xsltwin32config.h: Removed from CVS; this is a generated
file anyway and it breaks jhbuild all the time.

19 years agoapplied patch from Jonathan Wakely to fix the namespace name for the EXSLT
Daniel Veillard [Sat, 7 May 2005 09:28:53 +0000 (09:28 +0000)]
applied patch from Jonathan Wakely to fix the namespace name for the EXSLT

* libexslt/libexslt.3: applied patch from Jonathan Wakely to fix
  the namespace name for the EXSLT date and time functions in the man
  page.
Daniel

19 years agoignored the bindist directory
Igor Zlatkovic [Tue, 3 May 2005 19:02:04 +0000 (19:02 +0000)]
ignored the bindist directory

19 years agoignored the bindist directory
Igor Zlatkovic [Tue, 3 May 2005 19:00:58 +0000 (19:00 +0000)]
ignored the bindist directory

19 years ago*** empty log message ***
Igor Zlatkovic [Wed, 6 Apr 2005 22:02:37 +0000 (22:02 +0000)]
*** empty log message ***

19 years agoadded Eclipse project files
Igor Zlatkovic [Wed, 6 Apr 2005 22:02:25 +0000 (22:02 +0000)]
added Eclipse project files

19 years agoWindows build cleanup, removed obsolete macro definitions
Igor Zlatkovic [Wed, 6 Apr 2005 22:02:14 +0000 (22:02 +0000)]
Windows build cleanup, removed obsolete macro definitions

19 years agomake install cleanup
Igor Zlatkovic [Wed, 6 Apr 2005 22:01:57 +0000 (22:01 +0000)]
make install cleanup

19 years agoremoved obsolete copy operations
Igor Zlatkovic [Wed, 6 Apr 2005 22:01:43 +0000 (22:01 +0000)]
removed obsolete copy operations

19 years agowindows build cleanup, removed obsolete checks
Igor Zlatkovic [Wed, 6 Apr 2005 22:01:18 +0000 (22:01 +0000)]
windows build cleanup, removed obsolete checks

19 years agopreparing release of 1.1.14, updated docs and rebuilt. Daniel
Daniel Veillard [Sat, 2 Apr 2005 11:43:03 +0000 (11:43 +0000)]
preparing release of 1.1.14, updated docs and rebuilt. Daniel

* configure.in NEWS doc/*: preparing release of 1.1.14, updated docs
  and rebuilt.
Daniel

19 years agoupdated the result of some tests following the change to serailization in
Daniel Veillard [Thu, 31 Mar 2005 21:52:55 +0000 (21:52 +0000)]
updated the result of some tests following the change to serailization in

* tests/docbook/result/fo/gdp-handbook.fo tests/general/bug-105.out
  tests/general/bug-142.out: updated the result of some tests
  following the change to serailization in libxml2.
Daniel

19 years agofixed bug #171488 with cascading select in patterns. added test provided
Daniel Veillard [Thu, 31 Mar 2005 09:56:13 +0000 (09:56 +0000)]
fixed bug #171488 with cascading select in patterns. added test provided

* libxslt/pattern.c: fixed bug #171488 with cascading select in
  patterns.
* tests/general/bug-161.*, tests/general/Makefile.am,
  tests/docs/bug-161.*, tests/docs/Makefile.am: added test provided
  by Ben Ko
Daniel

19 years agofixed build outside of source tree bug #172155 thanks to patch from Mike
Daniel Veillard [Wed, 30 Mar 2005 22:29:28 +0000 (22:29 +0000)]
fixed build outside of source tree bug #172155 thanks to patch from Mike

* tests/plugins/Makefile.am: fixed build outside of source tree
  bug #172155 thanks to patch from Mike Castle
Daniel

19 years agofixed the xinclude problem with document() as in bug #171893 added a new
Daniel Veillard [Wed, 30 Mar 2005 12:12:53 +0000 (12:12 +0000)]
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

19 years agofixed bug 169718 with ancestors in patterns similar to same bug fixed in
Daniel Veillard [Wed, 30 Mar 2005 10:01:59 +0000 (10:01 +0000)]
fixed bug 169718 with ancestors in patterns similar to same bug fixed in

* libxslt/pattern.c: fixed bug 169718 with ancestors in patterns
  similar to same bug fixed in libxml2
* tests/general/bug-160.*, tests/general/Makefile.am,
  tests/docs/bug-160.*, tests/docs/Makefile.am: added test provided
  by Aaron Kaplan
Daniel

19 years agoadded test for bug #168196 fixed in libxml2 Daniel
Daniel Veillard [Tue, 29 Mar 2005 20:35:38 +0000 (20:35 +0000)]
added test for bug #168196 fixed in libxml2 Daniel

* tests/general/bug-159.*, tests/general/Makefile.am,
  tests/docs/bug-159.*, tests/docs/Makefile.am: added test for
  bug #168196 fixed in libxml2
Daniel

19 years agoworking around Mark Vakoc' reported bug related to mode internaing adding
Daniel Veillard [Tue, 29 Mar 2005 19:07:56 +0000 (19:07 +0000)]
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

19 years agofix bug #165201 when calling xsltInit() multiple times. Daniel
Daniel Veillard [Tue, 29 Mar 2005 13:38:57 +0000 (13:38 +0000)]
fix bug #165201 when calling xsltInit() multiple times. Daniel

* libxslt/xslt.c: fix bug #165201 when calling xsltInit() multiple
  times.
Daniel

19 years agoadded DTD like checking when compiling stylesheets, closes bug #160402 and
Daniel Veillard [Tue, 29 Mar 2005 13:16:06 +0000 (13:16 +0000)]
added DTD like checking when compiling stylesheets, closes bug #160402 and

* libxslt/preproc.c libxslt/xslt.c libxslt/xsltInternals.h:
  added DTD like checking when compiling stylesheets, closes
  bug #160402 and a long term TODO
* tests/general/bug-89.xsl: thos spotted a misconstruct of one
  of the test cases where <xsl:when> was not within <xsl:choose>
Daniel

19 years agoMon Mar 21 20:56:43 MST 2005 John Fleck (jfleck@inkstain.net)
John Fleck [Tue, 22 Mar 2005 04:05:14 +0000 (04:05 +0000)]
Mon Mar 21 20:56:43 MST 2005 John Fleck (jfleck@inkstain.net)

Mon Mar 21 20:56:43 MST 2005 John Fleck (jfleck@inkstain.net)

* doc/xsltproc.xml, xsltproc.html, xsltproc.1
update documentation to reflect addition of --nodtdattr
command line flag. Bug #171098

19 years agofixed problem with text node on stylesheet document without a dictionary
William M. Brack [Wed, 16 Mar 2005 11:12:38 +0000 (11:12 +0000)]
fixed problem with text node on stylesheet document without a dictionary

* libxslt/xslt.c: fixed problem with text node on stylesheet
  document without a dictionary (bug 170533)

19 years agopreparing 1.1.13, updated and rebuilt the docs. trying to fix some build
Daniel Veillard [Sun, 13 Mar 2005 19:44:17 +0000 (19:44 +0000)]
preparing 1.1.13, updated and rebuilt the docs. trying to fix some build

* NEWS configure.in doc/*: preparing 1.1.13, updated and rebuilt
  the docs.
* tests/plugins/Makefile.am xsltproc/Makefile.am: trying to fix
  some build problems.
* libxslt.spec.in: adding a build require and a require for
  libgcrypt-devel, c.f. Red Hat bug #133211
* libxslt/xsltInternals.h: as for libxml2, XML_CAST_FPTR was wrong.
Daniel

19 years agofixed a problem with '//' and namespaces (bug 168208)
William M. Brack [Wed, 23 Feb 2005 11:26:24 +0000 (11:26 +0000)]
fixed a problem with '//' and namespaces (bug 168208)

* libxslt/pattern.c: fixed a problem with '//' and
  namespaces (bug 168208)

19 years agoAdded links to the Wiki, Daniel
Daniel Veillard [Sun, 20 Feb 2005 13:32:58 +0000 (13:32 +0000)]
Added links to the Wiki, Daniel

19 years agofixed a problem with exclude-result-prefixes (bug 165560)
William M. Brack [Mon, 14 Feb 2005 15:12:42 +0000 (15:12 +0000)]
fixed a problem with exclude-result-prefixes (bug 165560)

* libxslt/namespaces.c: fixed a problem with
  exclude-result-prefixes (bug 165560)

19 years agoadded a cretion of ctxt->globalVars in xsltProcessUserParamInternal if
Daniel Veillard [Mon, 14 Feb 2005 11:52:12 +0000 (11:52 +0000)]
added a cretion of ctxt->globalVars in xsltProcessUserParamInternal if

* libxslt/variables.c: added a cretion of ctxt->globalVars in
  xsltProcessUserParamInternal if missing.
Daniel

19 years agoapplied patch for make wiki from Joel Reed and rebuild fix from Joel Reed
Daniel Veillard [Wed, 9 Feb 2005 21:00:05 +0000 (21:00 +0000)]
applied patch for make wiki from Joel Reed and rebuild fix from Joel Reed

* doc/Makefile.am doc/libxslt-api.xml doc/libxslt-refs.xml
  doc/EXSLT/libexslt-api.xml: applied patch for make wiki from
  Joel Reed and rebuild
* tests/plugins/Makefile.am: fix from Joel Reed for make dist
Daniel

19 years agoapplied plugin patch for Windows by Joel Reed Daniel
Daniel Veillard [Sun, 30 Jan 2005 19:02:09 +0000 (19:02 +0000)]
applied plugin patch for Windows by Joel Reed Daniel

* tests/plugins/testplugin.c win32/Makefile.msvc win32/configure.js:
  applied plugin patch for Windows by Joel Reed
Daniel

19 years agoMakefile fixes for Widows from Joel Reed Daniel
Daniel Veillard [Fri, 28 Jan 2005 00:01:31 +0000 (00:01 +0000)]
Makefile fixes for Widows from Joel Reed Daniel

* win32/configure.js: Makefile fixes for Widows from Joel Reed
Daniel

19 years agochasing xmlStrEqual calls and removed them when comparing mode and modeURI
Daniel Veillard [Sat, 22 Jan 2005 21:16:15 +0000 (21:16 +0000)]
chasing xmlStrEqual calls and removed them when comparing mode and modeURI

* libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
  libxslt/xslt.c libxslt/xsltInternals.h: chasing xmlStrEqual
  calls and removed them when comparing mode and modeURI for
  templates by interning those strings when compiling the
  stylesheets.
Daniel

19 years agosmall fix for local setup speeding up some variable lookup. In the process
Daniel Veillard [Sat, 22 Jan 2005 18:19:08 +0000 (18:19 +0000)]
small fix for local setup speeding up some variable lookup. In the process

* configure.in: small fix for local setup
* libxslt/transform.c libxslt/variables.c : speeding up some
  variable lookup. In the process dug out something nasty about
  ctxt->dict creation and key initialization order.
Daniel

19 years agowhen copying text nodes in elements or attributes to the output, if
Daniel Veillard [Sat, 22 Jan 2005 15:31:49 +0000 (15:31 +0000)]
when copying text nodes in elements or attributes to the output, if

* libxslt/templates.c libxslt/transform.c libxslt/xslt.c
  libxslt/xsltInternals.h: when copying text nodes in elements
  or attributes to the output, if interning, then reuse the strings
  directly without copying them in the output tree if dicts are
  shared between the context and the output docs. Less allocations
  smaller output document and no copying involved anymore.
Daniel

19 years agointernalize all text node content from stylesheet documents with the
Daniel Veillard [Sat, 22 Jan 2005 10:26:08 +0000 (10:26 +0000)]
internalize all text node content from stylesheet documents with the

* libxslt/xslt.c: internalize all text node content from
  stylesheet documents with the stylesheet dictionnary
Daniel

19 years agoApplied patch 11 (with small modification) from Joel
William M. Brack [Fri, 21 Jan 2005 04:07:11 +0000 (04:07 +0000)]
Applied patch 11 (with small modification) from Joel

* tests/plugins/Makefile.am: Applied patch 11 (with small
  modification) from Joel

19 years agoapplied patch 10 from Joel Reed Daniel
Daniel Veillard [Thu, 20 Jan 2005 20:06:12 +0000 (20:06 +0000)]
applied patch 10 from Joel Reed Daniel

* tests/plugins/Makefile.am tests/plugins/testplugin.c: applied
  patch 10 from Joel Reed
Daniel

19 years agofixed a small error in LIBXSLT_VERSION_EXTRA pointed out by
William M. Brack [Wed, 19 Jan 2005 14:09:53 +0000 (14:09 +0000)]
fixed a small error in LIBXSLT_VERSION_EXTRA pointed out by

* libxslt/xsltwin32config.h, libxslt/xsltwin32config.h.in:
  fixed a small error in LIBXSLT_VERSION_EXTRA pointed out
  by Michael.Hewarth on the mailing list

19 years agopatch #9 from Joel Reed Daniel
Daniel Veillard [Wed, 19 Jan 2005 12:59:19 +0000 (12:59 +0000)]
patch #9 from Joel Reed Daniel

* configure.in: patch #9 from Joel Reed
Daniel

19 years agofixed problem with parserOptions not being set before loading a new
William M. Brack [Wed, 19 Jan 2005 02:21:23 +0000 (02:21 +0000)]
fixed problem with parserOptions not being set before loading a new

* transform.c: fixed problem with parserOptions not being
  set before loading a new document (bug 164530)

19 years agoapplied another patch from Joel Reed still failing here but looking better
Daniel Veillard [Mon, 17 Jan 2005 15:51:34 +0000 (15:51 +0000)]
applied another patch from Joel Reed still failing here but looking better

* configure.in libxslt/Makefile.am libxslt/xsltwin32config.h
  tests/Makefile.am tests/plugins/Makefile.am
  tests/plugins/testplugin.c: applied another patch from Joel Reed
  still failing here but looking better
Daniel

19 years agoapplied another patch from Joel Reed Daniel
Daniel Veillard [Sat, 15 Jan 2005 23:09:48 +0000 (23:09 +0000)]
applied another patch from Joel Reed Daniel

* libxslt/extensions.c: applied another patch from Joel Reed
Daniel

19 years agoCopying testplugin.c to the right place really, Daniel
Daniel Veillard [Sat, 15 Jan 2005 13:03:05 +0000 (13:03 +0000)]
Copying testplugin.c to the right place really, Daniel

19 years agoOops forgot libxslt/testplugin.c, Daniel
Daniel Veillard [Sat, 15 Jan 2005 12:57:26 +0000 (12:57 +0000)]
Oops forgot libxslt/testplugin.c, Daniel

19 years agoApplied another patch from Joel Reed, fixed a segfault and changed the
Daniel Veillard [Sat, 15 Jan 2005 12:56:23 +0000 (12:56 +0000)]
Applied another patch from Joel Reed, fixed a segfault and changed the

* tests/plugins/plugin.* tests/Makefile.am libxslt/extensions.c
  libxslt/Makefile.am configure.in: Applied another patch from
  Joel Reed, fixed a segfault and changed the configure code
  a bit to work in my debug environment.
Daniel

19 years agoadded python2.4 to the list of accepted versions (bug 163274)
William M. Brack [Tue, 11 Jan 2005 02:49:41 +0000 (02:49 +0000)]
added python2.4 to the list of accepted versions (bug 163274)

* configure.in: added python2.4 to the list of accepted
  versions (bug 163274)

19 years agooops previous patch could break build Daniel
Daniel Veillard [Sun, 9 Jan 2005 16:05:10 +0000 (16:05 +0000)]
oops previous patch could break build Daniel

* libxslt/extensions.c: oops previous patch could break build
Daniel

19 years agointegrated the module patch from Joel Reed with just a couple of changes
Daniel Veillard [Sun, 9 Jan 2005 15:43:24 +0000 (15:43 +0000)]
integrated the module patch from Joel Reed with just a couple of changes

* configure.in win32/configure.js libxslt/extensions.c
  libxslt/xsltconfig.h.in libxslt/xsltwin32config.h.in:
  integrated the module patch from Joel Reed with just a couple
  of changes and cleanup.
Daniel

19 years agoAdding XMLLib osax description, Daniel
Daniel Veillard [Thu, 30 Dec 2004 21:31:16 +0000 (21:31 +0000)]
Adding XMLLib osax description, Daniel

19 years agofixed a problem with the expression "*//name" (bug 162265), also a small
William M. Brack [Tue, 28 Dec 2004 09:50:22 +0000 (09:50 +0000)]
fixed a problem with the expression "*//name" (bug 162265), also a small

* libxslt/pattern.c: fixed a problem with the expression
  "*//name" (bug 162265), also a small problem with the '|'
  operator.

19 years agofixed a couple of spots where out-of-memory errors were not detected in
William M. Brack [Thu, 23 Dec 2004 08:08:11 +0000 (08:08 +0000)]
fixed a couple of spots where out-of-memory errors were not detected in

* libxslt/transform.c, libxslt/templates.c: fixed a couple of
  spots where out-of-memory errors were not detected in time
  (bug #153660 on OSF/1)

19 years ago*doc/xslt.html, doc/downloads.html: changed the download link
William M. Brack [Thu, 2 Dec 2004 13:13:09 +0000 (13:13 +0000)]
*doc/xslt.html, doc/downloads.html: changed the download link
 on the web page for cvs snapshot

19 years agominor changes to get rid of gcc warnings, especially on 64-bit system.
William M. Brack [Wed, 1 Dec 2004 14:44:56 +0000 (14:44 +0000)]
minor changes to get rid of gcc warnings, especially on 64-bit system.

* libxslt/extensions.c, libxslt/functions.c, libxslt/numbers.c,
  libxslt/pattern.c, libxslt/transform.c, libxslt/xslt.c,
  libxslt/xsltInternals.h: minor changes to get rid of gcc
  warnings, especially on 64-bit system. Implemented
  XML_CAST_FPTR macro to cast between function pointer <->
  object pointer while avoiding gcc warnings (a hack).
  No change to the logic.

19 years agoapplied patch from Aleksey Gurtovoy moving some stat() definition for
Daniel Veillard [Wed, 1 Dec 2004 09:48:12 +0000 (09:48 +0000)]
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

19 years agoapplied patch from Mark Vakoc fixing bug with namespace URI on template
William M. Brack [Wed, 1 Dec 2004 06:52:22 +0000 (06:52 +0000)]
applied patch from Mark Vakoc fixing bug with namespace URI on template

* libxslt/xslt.c: applied patch from Mark Vakoc fixing bug with
  namespace URI on template names.
* tests/namespaces/tst9*, tests/namespaces/Makefile.am: added
  test case for this

19 years agomore on RVT's in XPath predicates, this time for bug 159726. Cleaned up
William M. Brack [Tue, 30 Nov 2004 03:00:32 +0000 (03:00 +0000)]
more on RVT's in XPath predicates, this time for bug 159726. Cleaned up

* libxslt/pattern.c: more on RVT's in XPath predicates, this
  time for bug 159726.  Cleaned up the logic a little, hopefully
  now covers all setting of XSLT_RUNTIME_EXTRA.
* tests/general/bug-158.xsl: corrected a typo

19 years agobacked out the last change and re-did it the "right way" (bug 158372).
William M. Brack [Thu, 25 Nov 2004 14:32:45 +0000 (14:32 +0000)]
backed out the last change and re-did it the "right way" (bug 158372).

* libxslt/variables.c, libxslt/xsltInternals.h: backed out the
  last change and re-did it the "right way" (bug 158372).
* tests/general/bug-158.*, tests/general/Makefile.am,
  tests/docs/bug-158.*, tests/general/Makefile.am: added test
  case for this bug

19 years agoenhanced the evaluation of global variables to take account of possible
William M. Brack [Wed, 24 Nov 2004 02:54:35 +0000 (02:54 +0000)]
enhanced the evaluation of global variables to take account of possible

* libxslt/variables.c, libxslt/xsltInternals.h: enhanced the
  evaluation of global variables to take account of possible
  changes to the current document (bug 158372).

19 years agosmall change to previous fix for bug 153137, fixes bug 158840. added test
William M. Brack [Mon, 22 Nov 2004 00:11:24 +0000 (00:11 +0000)]
small change to previous fix for bug 153137, fixes bug 158840. added test

* libxslt/pattern.c: small change to previous fix for bug 153137,
  fixes bug 158840.
* tests/general/bug-157.*, tests/general/Makefile.am,
  tests/docs/bug-157.*, tests/docs/Makefile.am: added test for this

19 years agoenhanced code to assure the "current template rule" is not changed by
William M. Brack [Sun, 21 Nov 2004 02:09:34 +0000 (02:09 +0000)]
enhanced code to assure the "current template rule" is not changed by

* libxslt/transform.c: enhanced code to assure the "current
  template rule" is not changed by xsl:call-template (bug 157859).
* tests/general/bug-156.*, tests/general/Makefile.am,
  tests/docs/bug-156.*, tests/docs/Makefile.am: added a test case

19 years agofixed problem with day-of-week-in-month (bug 157592) with patch from Sal
William M. Brack [Mon, 8 Nov 2004 03:41:26 +0000 (03:41 +0000)]
fixed problem with day-of-week-in-month (bug 157592) with patch from Sal

* libexslt/date.c: fixed problem with day-of-week-in-month
  (bug 157592) with patch from Sal Paradise
* tests/exslt/date/datetime.1.out: corrected expected output
  after above fix

19 years agoadded a test case provided by Markus Bertheau breaking on libxml2-2.6.15
Daniel Veillard [Mon, 1 Nov 2004 14:58:20 +0000 (14:58 +0000)]
added a test case provided by Markus Bertheau breaking on libxml2-2.6.15

* tests/general/bug-155.*, tests/general/Makefile.am,
  tests/docs/bug-155*, tests/docs/Makefile.am: added a test case
  provided by Markus Bertheau breaking on libxml2-2.6.15
Daniel