platform/upstream/libxslt.git
23 years agoAdd .cvsignore for new directory.
Darin Adler [Wed, 26 Sep 2001 05:28:27 +0000 (05:28 +0000)]
Add .cvsignore for new directory.

23 years agofixed bug #60624 improver the error context reporting added a specific
Daniel Veillard [Tue, 18 Sep 2001 09:56:57 +0000 (09:56 +0000)]
fixed bug #60624 improver the error context reporting added a specific

* libxslt/xslt.c: fixed bug #60624
* libxslt/xsltutils.c: improver the error context reporting
* tests/reports/Makefile.am tests/reports/tst-2.*: added a
  specific regression test
* xsltproc/xsltproc: free the stylesheet if it contained an error.
Daniel

23 years agofixed a problem with global var override being reported as an error. added
Daniel Veillard [Mon, 17 Sep 2001 12:52:18 +0000 (12:52 +0000)]
fixed a problem with global var override being reported as an error. added

* libxslt/variables.c: fixed a problem with global var override
  being reported as an error.
* tests/docs/Makefile.am tests/docs/bug-61.xml
  tests/general/Makefile.am tests/general/bug-61.*: added a
  specific example in the regression tests
* configure.in tests/Makefile.am tests/reports/*: adding a test
  to make sure redefinition of global variables in the same stylesheet
  are still reported
Daniel

23 years agookay the code from Norm is really non portable and break everywhere except
Daniel Veillard [Sat, 15 Sep 2001 15:33:27 +0000 (15:33 +0000)]
okay the code from Norm is really non portable and break everywhere except

* libxslt/extra.c: okay the code from Norm is really non
  portable and break everywhere except on Sun and Linux
  platform. Compile it only on those targets.
Daniel

23 years agofixed some bugs (reported by Charles Bozeman and Justin Fletcher)
Thomas Broyer [Sat, 15 Sep 2001 04:20:07 +0000 (04:20 +0000)]
fixed some bugs (reported by Charles Bozeman and Justin Fletcher)

* libexslt/date.c: fixed some bugs (reported by Charles Bozeman
  and Justin Fletcher)

23 years agoFixing bug #60415 added a specific example in the regression tests Daniel
Daniel Veillard [Fri, 14 Sep 2001 13:23:51 +0000 (13:23 +0000)]
Fixing bug #60415 added a specific example in the regression tests Daniel

* libxslt/numbers.c: Fixing bug #60415
* tests/docs/Makefile.am tests/docs/bug-61.xml
  tests/general/Makefile.am tests/general/bug-61.*: added a
  specific example in the regression tests
Daniel

23 years agothe change in libxml to output decimal charrefs instead of hexadecimal
Daniel Veillard [Fri, 14 Sep 2001 10:43:57 +0000 (10:43 +0000)]
the change in libxml to output decimal charrefs instead of hexadecimal

* tests/docbook/result/*: the change in libxml to output
  decimal charrefs instead of hexadecimal changed a lot of
  docbook results
Daniel

23 years agoinstall xsltproc man page Daniel
Daniel Veillard [Thu, 13 Sep 2001 13:30:58 +0000 (13:30 +0000)]
install xsltproc man page Daniel

* libxslt.spec.in doc/Makefile.am: install xsltproc man page
Daniel

23 years agoPushed 1.0.4, Daniel
Daniel Veillard [Wed, 12 Sep 2001 21:32:27 +0000 (21:32 +0000)]
Pushed 1.0.4, Daniel

23 years agopreparing for 1.0.4 updated and regenerated docs Daniel
Daniel Veillard [Wed, 12 Sep 2001 20:51:09 +0000 (20:51 +0000)]
preparing for 1.0.4 updated and regenerated docs Daniel

* configure.in: preparing for 1.0.4
* doc/xslt.html doc/html/*: updated and regenerated docs
Daniel

23 years agofixed some compile warnings and disabled debugging by default.
Thomas Broyer [Wed, 12 Sep 2001 16:07:30 +0000 (16:07 +0000)]
fixed some compile warnings and disabled debugging by default.

* libexslt/date.c: fixed some compile warnings and disabled
  debugging by default.

23 years agotrying to incorporate comments from bug #59220 Daniel
Daniel Veillard [Wed, 12 Sep 2001 15:02:19 +0000 (15:02 +0000)]
trying to incorporate comments from bug #59220 Daniel

* win32/dsp/libxslt.def libxslt/variables.[ch]: trying to
  incorporate comments from bug #59220
Daniel

23 years agoadded implementation of the EXSLT - Dates and Times core functions. The
Thomas Broyer [Wed, 12 Sep 2001 03:52:26 +0000 (03:52 +0000)]
added implementation of the EXSLT - Dates and Times core functions. The

* configure.in libexslt/date.c libexslt/Makefile.am
  libexslt/exslt.[ch] libexslt/.cvsignore: added implementation
  of the EXSLT - Dates and Times core functions.
  The exsltDateFormat* functions need to be reworked but it
  works like this, even if it's quite messy.
* tests/exslt/strings/.cvsignore: added

23 years agotell in usage that parameter strings need to be quoted Daniel
Daniel Veillard [Tue, 11 Sep 2001 12:49:36 +0000 (12:49 +0000)]
tell in usage that parameter strings need to be quoted Daniel

* xsltproc/xsltproc.c: tell in usage that parameter strings
  need to be quoted
Daniel

23 years agotrying to close bug #60304 on xsl:fallback usage added a specific example
Daniel Veillard [Tue, 11 Sep 2001 11:45:45 +0000 (11:45 +0000)]
trying to close bug #60304 on xsl:fallback usage added a specific example

* libxslt/Makefile.am libxslt/transform.c: trying to close
  bug #60304 on xsl:fallback usage
* tests/docs/Makefile.am tests/docs/bug-60.xml
  tests/general/Makefile.am tests/general/bug-60.*: added a
  specific example in the regression tests
Daniel

23 years agochanged the test to use doc%5Ffile instead of doc%20file, this is
Daniel Veillard [Tue, 11 Sep 2001 11:04:33 +0000 (11:04 +0000)]
changed the test to use doc%5Ffile instead of doc%20file, this is

* tests/documents/Makefile.am tests/documents/*: changed the
  test to use doc%5Ffile instead of doc%20file, this is
  sufficient to preserve the test capacities while closing
  bug #60090
Daniel

23 years agoclose #59570 by simply not providing Norm's extension on FreeBSD. added a
Daniel Veillard [Tue, 11 Sep 2001 10:47:57 +0000 (10:47 +0000)]
close #59570 by simply not providing Norm's extension on FreeBSD. added a

* libxslt/extra.c : close #59570 by simply not providing
  Norm's extension on FreeBSD.
* tests/general tests/docs: added a couple of new entries
  in the testsuite
* libexslt/strings.c: NULL initialized a local variable
  which was tested later on.
Daniel

23 years agoapplied fix from #60143 and rebuilt the FO test outputs Daniel
Daniel Veillard [Mon, 10 Sep 2001 20:56:07 +0000 (20:56 +0000)]
applied fix from #60143 and rebuilt the FO test outputs Daniel

* libxslt/pattern.c tests/docbook/result/fo/*: applied fix from
  #60143 and rebuilt the FO test outputs
Daniel

23 years agofixed bug #59757 on inheritance of attributes from multiple
Daniel Veillard [Mon, 10 Sep 2001 17:43:00 +0000 (17:43 +0000)]
fixed bug #59757 on inheritance of attributes from multiple

* libxslt/attributes.c libxslt/transform.c: fixed bug #59757
  on inheritance of attributes from multiple attributes-sets
Daniel

23 years agoadded implementation of EXSLT - Strings. Currently implemented functins
Thomas Broyer [Mon, 3 Sep 2001 00:17:54 +0000 (00:17 +0000)]
added implementation of EXSLT - Strings. Currently implemented functins

* libexslt/Makefile.am libexslt/exslt.[ch] libexslt/strings.c:
  added implementation of EXSLT - Strings.
  Currently implemented functins are str:tokenize, str:align
  str:concat and str:padding.
* configure.in tests/exslt/Makefile.am
  tests/exslt/strings/Makefile.am
  tests/exslt/strings/tokenize.1.*: added a test for the
  str:tokenize function.

23 years agoadded man pages provided by Heiko Rupp Daniel
Daniel Veillard [Fri, 31 Aug 2001 11:54:22 +0000 (11:54 +0000)]
added man pages provided by Heiko Rupp Daniel

* libxslt/libxslt.4 libexslt/libexslt.4 libxslt/Makefile.am
  libexslt/Makefile.am: added man pages provided by Heiko Rupp
Daniel

23 years agodoc/tutorial/libxslttutorial.xml, libxslttutorial.html - update tutorial
MDT 2001 John Fleck [Thu, 30 Aug 2001 03:26:45 +0000 (03:26 +0000)]
doc/tutorial/libxslttutorial.xml, libxslttutorial.html - update tutorial

Wed Aug 29 21:23:54 MDT 2001 John Fleck <jfleck@inkstain.net>

* doc/tutorial/libxslttutorial.xml, libxslttutorial.html - update
tutorial text to add references to global variables cleanups

23 years agothis has not been added into the build yet)
MDT 2001 John Fleck [Thu, 30 Aug 2001 03:08:46 +0000 (03:08 +0000)]
this has not been added into the build yet)

Wed Aug 29 21:05:43 MDT 2001 John Fleck <jfleck@inkstain.net>

* doc/xsltproc.1 - added xsltproc man page (note: this has not
been added into the build yet)

23 years agoadded global variables cleanups to the example. mjcox pointed to some
Daniel Veillard [Wed, 29 Aug 2001 21:00:50 +0000 (21:00 +0000)]
added global variables cleanups to the example. mjcox pointed to some

* doc/tutorial/libxslt_tutorial.c doc/tutorial/libxslttutorial.html
  doc/tutorial/libxslttutorial.xml: added global variables cleanups
  to the example.
* tests/documents/Makefile.am: mjcox pointed to some missing files
Daniel

23 years agofixed a bug in exsltNodeSetFunction
Thomas Broyer [Wed, 29 Aug 2001 13:28:06 +0000 (13:28 +0000)]
fixed a bug in exsltNodeSetFunction

* libexslt/common.c: fixed a bug in exsltNodeSetFunction

23 years agoimplemented version 3 of the exslt:node-set() function. added a test
Thomas Broyer [Wed, 29 Aug 2001 13:18:03 +0000 (13:18 +0000)]
implemented version 3 of the exslt:node-set() function. added a test

* libexslt/common.c: implemented version 3 of the exslt:node-set()
  function.
* tests/exslt/common/Makefile.am
  tests/exslt/common/node-set.3.{xml,xsl,out}: added a test

23 years agoadding doc/xsltproc.html - html generated from xsltproc.xml, update
MDT 2001 John Fleck [Mon, 27 Aug 2001 14:34:03 +0000 (14:34 +0000)]
adding doc/xsltproc.html - html generated from xsltproc.xml, update

Mon Aug 27 08:27:21 MDT 2001 John Fleck <jfleck@inkstain.net>

* adding doc/xsltproc.html - html generated from xsltproc.xml,
update doc/xslt.html with link to xsltproc.html

23 years agoadding doc/xsltproc.xml - user manual for xsltproc
MDT 2001 John Fleck [Mon, 27 Aug 2001 14:26:14 +0000 (14:26 +0000)]
adding doc/xsltproc.xml - user manual for xsltproc

Mon Aug 27 08:21:47 MDT 2001 John Fleck <jfleck@inkstain.net>

* adding doc/xsltproc.xml - user manual for xsltproc

23 years agoremoved a couple of warning raised by the Windows compiler (Chris Poblete)
Daniel Veillard [Sun, 26 Aug 2001 18:57:33 +0000 (18:57 +0000)]
removed a couple of warning raised by the Windows compiler (Chris Poblete)

* libxslt/numbers.c libxslt/xslt.c: removed a couple of
  warning raised by the Windows compiler (Chris Poblete)
Daniel

23 years agoAdded 1.0.3 release, daniel
Daniel Veillard [Fri, 24 Aug 2001 00:47:27 +0000 (00:47 +0000)]
Added 1.0.3 release, daniel

23 years agoclosed bugs #59212 and #59220 Daniel
Daniel Veillard [Thu, 23 Aug 2001 23:17:43 +0000 (23:17 +0000)]
closed bugs #59212 and #59220 Daniel

* libxslt/functions.h libxslt/preproc.c libxslt/transform.c:
  closed bugs #59212 and #59220
Daniel

23 years agocomplete test of a DocBook XSLt transform with --nonet, need stat(), added
Daniel Veillard [Thu, 23 Aug 2001 21:20:28 +0000 (21:20 +0000)]
complete test of a DocBook XSLt transform with --nonet, need stat(), added

* config.h.in configure.in xsltproc/xsltproc.c: complete test
  of a DocBook XSLt transform with --nonet, need stat(), added
  checking in configure.
Daniel

23 years agocatalog integration, cleanup with the --nonet option closing #59427
Daniel Veillard [Thu, 23 Aug 2001 15:41:05 +0000 (15:41 +0000)]
catalog integration, cleanup with the --nonet option closing #59427

* xsltproc/xsltproc.c: catalog integration, cleanup with
  the --nonet option closing #59427
* libxslt/xslt.c: removed a small memleak when using a
  stylesheet PI
Daniel

23 years agofixed an error I propagated to nearly all Makefiles.am on Saturday Daniel
Daniel Veillard [Tue, 21 Aug 2001 11:18:24 +0000 (11:18 +0000)]
fixed an error I propagated to nearly all Makefiles.am on Saturday Daniel

* //Makefile.am : fixed an error I propagated to nearly all
  Makefiles.am on Saturday
Daniel

23 years agouse xmlXPathIsNaN() and xmlXPathIsInf() tag a potential threading problem.
Daniel Veillard [Tue, 21 Aug 2001 11:11:21 +0000 (11:11 +0000)]
use xmlXPathIsNaN() and xmlXPathIsInf() tag a potential threading problem.

* libexslt/math.c libxslt/numbers.c: use xmlXPathIsNaN() and
  xmlXPathIsInf()
* libxslt/pattern.c: tag a potential threading problem.
Daniel

23 years agoRe-worked NaN and Inf support
Bjorn Reese [Tue, 21 Aug 2001 09:25:42 +0000 (09:25 +0000)]
Re-worked NaN and Inf support

23 years agofixed a number of small problems with Makefiles spotted by Albert Chin
Daniel Veillard [Sat, 18 Aug 2001 14:00:41 +0000 (14:00 +0000)]
fixed a number of small problems with Makefiles spotted by Albert Chin

* //Makefile.am : fixed a number of small problems with
  Makefiles spotted by Albert Chin
Daniel

23 years agoFixed a couple of links, Daniel
Daniel Veillard [Fri, 17 Aug 2001 12:01:40 +0000 (12:01 +0000)]
Fixed a couple of links, Daniel

23 years agominimal changes to compile 1.0.2 on Windows/MSC Daniel
Daniel Veillard [Thu, 16 Aug 2001 12:38:44 +0000 (12:38 +0000)]
minimal changes to compile 1.0.2 on Windows/MSC Daniel

* win32/dsp/libxslt.def: minimal changes to compile 1.0.2 on
  Windows/MSC
Daniel

23 years agowhat about commiting the modified file and not just the Changelog ?
Daniel Veillard [Thu, 16 Aug 2001 12:13:45 +0000 (12:13 +0000)]
what about commiting the modified file and not just the Changelog ?
Daniel

23 years agofixed a permutation of args to xsltPrintErrorContext() Daniel
Daniel Veillard [Thu, 16 Aug 2001 12:08:02 +0000 (12:08 +0000)]
fixed a permutation of args to xsltPrintErrorContext() Daniel

* libxslt/extensions.c: fixed a permutation of args to
  xsltPrintErrorContext()
Daniel

23 years agoUpdated to include 1.0.1 and 1.0.2 releases, Daniel
Daniel Veillard [Wed, 15 Aug 2001 13:32:03 +0000 (13:32 +0000)]
Updated to include 1.0.1 and 1.0.2 releases, Daniel

23 years agorelease of 1.0.2 cleaning of Makefiles pointed out by make distcheck
Daniel Veillard [Wed, 15 Aug 2001 13:21:46 +0000 (13:21 +0000)]
release of 1.0.2 cleaning of Makefiles pointed out by make distcheck

* Makefile.am config.h.in configure.in libxslt/xsltwin32config.h:
  release of 1.0.2
* tests/docs/Makefile.am libexslt/Makefile.am
  tests/documents/Makefile.am tests/general/Makefile.am
  xsltproc/Makefile.am: cleaning of Makefiles pointed out
  by make distcheck
Daniel

23 years agoa bit of cleanup Daniel
Daniel Veillard [Wed, 15 Aug 2001 11:55:20 +0000 (11:55 +0000)]
a bit of cleanup Daniel

* libxslt/functions.h libxslt/transform.c: a bit of cleanup
Daniel

23 years agocleanup of includes export xsltconfig.h at make install stage Daniel
Daniel Veillard [Wed, 15 Aug 2001 10:07:56 +0000 (10:07 +0000)]
cleanup of includes export xsltconfig.h at make install stage Daniel

* libexslt/common.c libexslt/math.c libxslt/Makefile.am
  libxslt/libxslt.h libxslt/xsltconfig.h.in: cleanup of includes
  export xsltconfig.h at make install stage
Daniel

23 years agodoc/xslt.html updated xsltproc description with the many new command line
MDT 2001 John Fleck [Wed, 15 Aug 2001 02:54:38 +0000 (02:54 +0000)]
doc/xslt.html updated xsltproc description with the many new command line

Tue Aug 14 20:51:09 MDT 2001 John Fleck <jfleck@inkstain.net>

* doc/xslt.html updated xsltproc description with the many new
  command line options Daniel has added, cleaned up some spelling

23 years agoserious changes on Result Value Trees and NodeSets w.r.t. deallocation and
Daniel Veillard [Tue, 14 Aug 2001 16:46:18 +0000 (16:46 +0000)]
serious changes on Result Value Trees and NodeSets w.r.t. deallocation and

* libxslt/extra.c libxslt/keys.c libxslt/templates.c
  libxslt/transform.c libxslt/variables.c libxslt/xsltutils.c:
  serious changes on Result Value Trees and NodeSets
  w.r.t. deallocation and collect operations. Probably not
  100% clean (merge of allocated trees smells like a problem).
  Seems sufficient to close #58943 . Also check if XPath evaluations
  failed, and in this case stops the processing and avoid
  going further, goal is to not segfault on broken XSLT.
Daniel

23 years agotrying to kill bug #58878, some associated serious cleanup in the pattern
Daniel Veillard [Tue, 14 Aug 2001 13:35:41 +0000 (13:35 +0000)]
trying to kill bug #58878, some associated serious cleanup in the pattern

* libxslt/pattern.c libxslt/transform.c: trying to kill bug #58878,
  some associated serious cleanup in the pattern code.
* tests/docbook/result/*: regenerated all the results for the
  docbook testsuite. Seems killing #58878 also changes the
  fo results seriously.
* tests/docs/Makefile.am tests/docs/bug-5[56].xml
  tests/general/Makefile.am tests/general/bug-5[56].*: added
  2 more tests
Daniel

23 years agofixed compilation warnings due to recent changes to the extension
Thomas Broyer [Tue, 14 Aug 2001 03:09:52 +0000 (03:09 +0000)]
fixed compilation warnings due to recent changes to the extension

* libxslt/xslt.c libxslt/xsltInternals.h libxslt/transform.c
  libxslt/extra.[ch] libxslt/extensions.c libxslt/preproc.[ch]:
  fixed compilation warnings due to recent changes to the extension
  framework.
* libxslt/preproc.[ch] libexslt/common.c
  fixed the precomputation of *:document elements
* libxslt/functions.h: fixed a compilation warning

23 years agoapplied fix suggested by Tom Moog for xsltTimeStamp() in bug report #58012
Daniel Veillard [Mon, 13 Aug 2001 09:42:27 +0000 (09:42 +0000)]
applied fix suggested by Tom Moog for xsltTimeStamp() in bug report #58012

* libxslt/xsltutils.c: applied fix suggested by Tom Moog
  for xsltTimeStamp() in bug report #58012
Daniel

23 years agoAdded a few pointers to XSLT list, archive, FAQ and Michael Kay's book, Daniel
Daniel Veillard [Mon, 13 Aug 2001 08:16:20 +0000 (08:16 +0000)]
Added a few pointers to XSLT list, archive, FAQ and Michael Kay's book, Daniel

23 years agocleaned up the code w.r.t. handling of 'non-standard' libxml element like
Daniel Veillard [Sun, 12 Aug 2001 19:55:12 +0000 (19:55 +0000)]
cleaned up the code w.r.t. handling of 'non-standard' libxml element like

* libxslt/functions.c libxslt/keys.c libxslt/transform.c
  libxslt/xsltutils.h: cleaned up the code w.r.t. handling
  of 'non-standard' libxml element like namespace nodes.
* tests/docs/Makefile.am tests/docs/bug-54.xml
  tests/general/Makefile.am tests/general/bug-54.*: added a
  specific example in the regression tests
Daniel

23 years agoSmall URL fix by Heiko Rupp, Daniel
Daniel Veillard [Thu, 9 Aug 2001 13:21:44 +0000 (13:21 +0000)]
Small URL fix by Heiko Rupp, Daniel

23 years agoadded John Fleck right to commit in the doc subdir Daniel
Daniel Veillard [Wed, 8 Aug 2001 20:59:23 +0000 (20:59 +0000)]
added John Fleck right to commit in the doc subdir Daniel

* HACKING: added John Fleck right to commit in the doc subdir
Daniel

23 years agoFor Norman walsh: for heriting defaulted atts from the DTD Added a few new
Daniel Veillard [Tue, 7 Aug 2001 01:14:30 +0000 (01:14 +0000)]
For Norman walsh: for heriting defaulted atts from the DTD Added a few new

For Norman walsh:
* xsltproc/xsltproc.c: for heriting defaulted atts from the DTD
* tests/docs/Makefile.am tests/docs/bug-52.xml tests/docs/bug-53.xml
  tests/general/Makefile.am tests/general/bug-52.*
  tests/general/bug-53.*: Added a few new tests for recently fixed
  stuff in libxml
* tests/xmlspec/REC-xml-20001006-review.html
  tests/xmlspec/REC-xml-20001006.html: inheriting default attrs from
  DTD changed the result by adding extra attributes to the HTML output
Daniel

23 years agoFixes for compiling when srcdir != builddir.
Peter Williams [Mon, 6 Aug 2001 17:47:23 +0000 (17:47 +0000)]
Fixes for compiling when srcdir != builddir.

2001-08-06  Peter Williams  <peterw@ximian.com>

* libexslt/Makefile.am, xsltproc/Makefile.am: Fixes for compiling
when srcdir != builddir.

23 years agomodified extension framework to easify extension element precomputation.
Thomas Broyer [Sun, 5 Aug 2001 07:37:44 +0000 (07:37 +0000)]
modified extension framework to easify extension element precomputation.

* libxslt/extensions.[ch] libxslt/preproc.[ch] libxslt/transform.c
  libxslt/xslt.c libxslt/xsltInternals.h: modified extension framework
  to easify extension element precomputation.
* libexslt/functions.c: uses the new framework and precomputes
  func:result elements.

23 years agobug fix on output="text" from Nicolas Marsgui Daniel
Daniel Veillard [Sat, 4 Aug 2001 18:43:43 +0000 (18:43 +0000)]
bug fix on output="text" from Nicolas Marsgui Daniel

* libxslt/transform.c: bug fix on output="text" from Nicolas Marsgui
Daniel

23 years agofixed the link to go to stable subdir on gnome.org, Daniel
Daniel Veillard [Fri, 3 Aug 2001 20:27:52 +0000 (20:27 +0000)]
fixed the link to go to stable subdir on gnome.org, Daniel

23 years agothis got fixed by libxml patches Applied Igor Zlatkovic Win32 Facelift
Daniel Veillard [Fri, 3 Aug 2001 12:26:17 +0000 (12:26 +0000)]
this got fixed by libxml patches Applied Igor Zlatkovic Win32 Facelift

* tests/general/bug-21-.out tests/general/bug-31-.out:
  this got fixed by libxml patches
* win32/readme.msvc win32/dsp/* xsltproc/xsltproc.c
  Makefile.am libexslt/exslt.[ch] libexslt/exsltconfig.h.in
  libexslt/functions.c libexslt/math.c libxslt/win32config.h
  libxslt/xsltconfig.h.in libxslt/xsltutils.h
  libxslt/xsltwin32config.h libxslt/xsltwin32config.h.in:
  Applied Igor  Zlatkovic Win32 Facelift No.2 patch, and fixed
  a few things related to those changes.
Daniel

23 years agowell one need one \n after DOCTYPE the output of some tests changed, looks
Daniel Veillard [Wed, 1 Aug 2001 12:00:00 +0000 (12:00 +0000)]
well one need one \n after DOCTYPE the output of some tests changed, looks

* libxslt/xsltutils.c: well one need one \n after DOCTYPE
* test//*/*.out: the output of some tests changed, looks better
  actually
Daniel

23 years agoavoid extra \n when serializing top text nodes. daniel
Daniel Veillard [Wed, 1 Aug 2001 11:22:35 +0000 (11:22 +0000)]
avoid extra \n when serializing top text nodes. daniel

* libxslt/xsltutils.c: avoid extra \n when serializing top text nodes.
daniel

23 years agoone more revision on Norm's localTime() function Daniel
Daniel Veillard [Wed, 1 Aug 2001 08:39:03 +0000 (08:39 +0000)]
one more revision on Norm's localTime() function Daniel

* libxslt/extra.c: one more revision on Norm's localTime() function
Daniel

23 years agofixed bugs in exsltTrailingFunction and exsltLeadingFunction when passing
Thomas Broyer [Tue, 31 Jul 2001 23:38:57 +0000 (23:38 +0000)]
fixed bugs in exsltTrailingFunction and exsltLeadingFunction when passing

* libexslt/sets.c: fixed bugs in exsltTrailingFunction and
  exsltLeadingFunction when passing an empty node-set as the
  second argument
* libxslt/functions.[ch]: gave priority to context-level functions
  over extension module functions. This allows a function declared
  with a func:function element to override an extension module
  function for example. This is a bit hackish...
* tests/exslt/sets/{lead,trail}ing.1.out: fixed errors. The result
  values didn't conform to the expected values. This is a bug in
  the EXSLT official use cases.

23 years agotried to integrate Norm's implemntation of localTime() Daniel
Daniel Veillard [Tue, 31 Jul 2001 21:55:02 +0000 (21:55 +0000)]
tried to integrate Norm's implemntation of localTime() Daniel

* config.h.in configure.in libxslt/extra.c: tried to integrate
  Norm's implemntation of localTime()
Daniel

23 years agofixed a serious proble is node-set was called on a nodeset fixed the rule
Daniel Veillard [Mon, 30 Jul 2001 13:47:26 +0000 (13:47 +0000)]
fixed a serious proble is node-set was called on a nodeset fixed the rule

* libxslt/extra.c: fixed a serious proble is node-set was called
  on a nodeset
* tests//*/Makefile.am: fixed the rule to rebuild xsltproc
Daniel

23 years agofixed memory leaks
Thomas Broyer [Mon, 30 Jul 2001 03:43:07 +0000 (03:43 +0000)]
fixed memory leaks

* libexslt/functions.c: fixed memory leaks

23 years agomore cleanup of the problems introduced with EXSLT, also closes bug #58180
Daniel Veillard [Sat, 28 Jul 2001 18:38:48 +0000 (18:38 +0000)]
more cleanup of the problems introduced with EXSLT, also closes bug #58180

* libexslt/functions.c libxslt/extensions.[ch] libxslt/extensions.h
  libxslt/xslt.[hc] libxslt/xsltInternals.h xsltproc/xsltproc.c:
  more cleanup of the problems introduced with EXSLT, also closes
  bug #58180
Daniel

23 years agodoc/internals.html - general cleanup
MDT 2001 John Fleck [Sat, 28 Jul 2001 14:26:59 +0000 (14:26 +0000)]
doc/internals.html - general cleanup

Sat Jul 28 08:25:05 MDT 2001 John Fleck <jfleck@inkstain.net>

* doc/internals.html - general cleanup

23 years agoAdded link to Python bindings, Daniel
Daniel Veillard [Fri, 27 Jul 2001 19:00:30 +0000 (19:00 +0000)]
Added link to Python bindings, Daniel

23 years agoadded some tests to check EXSLT conformance fixed a typo when registering
Thomas Broyer [Fri, 27 Jul 2001 02:15:58 +0000 (02:15 +0000)]
added some tests to check EXSLT conformance fixed a typo when registering

* configure.in tests/Makefile.am tests/exslt/*: added some tests
  to check EXSLT conformance
* libexslt/sets.c: fixed a typo when registering has-same-node

23 years agoquick cleanup of memory allocations, raise a bug in the test suite, also
Daniel Veillard [Thu, 26 Jul 2001 22:33:58 +0000 (22:33 +0000)]
quick cleanup of memory allocations, raise a bug in the test suite, also

* libxslt/extensions.c xsltproc/xsltproc.c: quick cleanup
  of memory allocations, raise a bug in the test suite, also
  need to be centralized as a single cleanup function.
daniel

23 years agoapplied changes from Tom Moog #58002 Some cleanup, there is still a memory
Daniel Veillard [Thu, 26 Jul 2001 21:30:29 +0000 (21:30 +0000)]
applied changes from Tom Moog #58002 Some cleanup, there is still a memory

* libxslt/transform.[ch]: applied changes from Tom Moog #58002
* libexslt/functions.c libxslt/documents.c libxslt/extensions.c:
  Some cleanup, there is still a memory leak left and some warnings
  in libexslt.
Daniel

23 years agoAdded pointers to Igor's page for the windows binaries, Daniel
Daniel Veillard [Thu, 26 Jul 2001 18:31:17 +0000 (18:31 +0000)]
Added pointers to Igor's page for the windows binaries, Daniel

23 years agonew extension framework. Added stylesheet module data, top-level and
Thomas Broyer [Thu, 26 Jul 2001 17:27:38 +0000 (17:27 +0000)]
new extension framework. Added stylesheet module data, top-level and

* libxslt/extensions.[ch] libxslt/functions.[ch] libxslt/preproc.c
  libxslt/transform.[ch] libxslt/variables.c libxslt/xslt.c
  libxslt/xsltInternals.h: new extension framework.
  Added stylesheet module data, top-level and extension elements
  precomputing, global registration of top-level elements and
  extension elements and functions.
  Extensions are no longer initialized from extension-element-prefixes
  declarations but when modules need the data.
  init/shutdown functions registered with xsltRegisterExtModule{,Full}
  only allocate and free module data, they shouldn't register the
  elements and functions any more.
* libxslt/xsltutils.c: fixed a bug in xsltPrintErrorContext when
  @node wasn't NULL.
* libxslt/xslt.c: fixed xsltPrecomputeStylesheetTop which allowed
  non-XSLT top-level elements before any xsl:import element.
* libexslt/common.c libexslt/functions.c libexslt/math.c
  libexslt/sets.c: adapted to use the new extension framework.
* libxslt/functions.c libxslt/extensions[ch] xsltproc/xsltproc.c:
  moved the test module from functions.c to extensions.[ch],
  modified it to use the new extension framework. Updated xsltproc
  to register the test module.

23 years agofixed an ugly problem with namespaces in templates compilation added a
Daniel Veillard [Wed, 25 Jul 2001 20:20:57 +0000 (20:20 +0000)]
fixed an ugly problem with namespaces in templates compilation added a

* libxslt/pattern.c: fixed an ugly problem with namespaces
  in templates compilation
* tests/namespaces/tst4.*: added a specific testcase
* libxslt/transform.c: reenabled debug
Daniel

23 years agoreleasing 1.0.1 updated the docs. activate line numbering unfortunately
Daniel Veillard [Mon, 23 Jul 2001 21:47:41 +0000 (21:47 +0000)]
releasing 1.0.1 updated the docs. activate line numbering unfortunately

* configure.in libxslt.spec.in libxslt/xsltwin32config.h:
  releasing 1.0.1
* doc/html/*.html: updated the docs.
* xsltproc/xsltproc.c: activate line numbering unfortunately
  this works only with CVS, libxml2-2.4.1 is broken in this respect
Daniel

23 years agoFixed xsltFindDocument to cater for Stylesheet as document
William M. Brack [Mon, 23 Jul 2001 15:40:00 +0000 (15:40 +0000)]
Fixed xsltFindDocument to cater for Stylesheet as document

23 years agoupdating libxslt tutorial to include param support
MDT 2001 John Fleck [Mon, 23 Jul 2001 15:34:28 +0000 (15:34 +0000)]
updating libxslt tutorial to include param support

Mon Jul 23 09:32:27 MDT 2001 John Fleck <jfleck@inkstain.net>

* updating libxslt tutorial to include param support

23 years agosmall cleanup patch to document('') from Matt Sergeant profiler on Windows
Daniel Veillard [Mon, 23 Jul 2001 00:55:43 +0000 (00:55 +0000)]
small cleanup patch to document('') from Matt Sergeant profiler on Windows

* libexslt/math.c: small cleanup
* libxslt/functions.c: patch to document('') from Matt Sergeant
* libxslt/xsltInternals.h libxslt/xsltutils.[ch]: profiler on Windows
  c.f. bug #57464 from Tom Moog
Daniel

23 years agoAdd HTML_DIR definition. Ignore some generated files.
Darin Adler [Thu, 19 Jul 2001 20:23:20 +0000 (20:23 +0000)]
Add HTML_DIR definition. Ignore some generated files.

* configure.in: Add HTML_DIR definition.
* xsltproc/.cvsignore: Ignore some generated files.

23 years agoFix compiling when srcdir != builddir.
Peter Williams [Wed, 18 Jul 2001 17:42:10 +0000 (17:42 +0000)]
Fix compiling when srcdir != builddir.

2001-07-18  Peter Williams  <peterw@ximian.com>

* xsltproc/Makefile.am (INCLUDES): Fix compiling when
srcdir != builddir.

23 years agoremoved utils.[ch] as their content is integrated in libxml uses the new
Thomas Broyer [Mon, 16 Jul 2001 12:50:06 +0000 (12:50 +0000)]
removed utils.[ch] as their content is integrated in libxml uses the new

        * libexslt/.cvsignore libexslt/Makefile.am libexslt/utils.[ch]
          libexslt/common.c libexslt/functions.c libexslt/math.c
          libexslt/sets.c: removed utils.[ch] as their content is
          integrated in libxml
        * libexslt/sets.c: uses the new libxml functions
        * libxslt/extra.[ch]: removed exsl:document
        * AUTHORS: added /me

23 years agoremoved utils.[ch] as their content is integrated in libxml uses the new
Thomas Broyer [Mon, 16 Jul 2001 04:58:29 +0000 (04:58 +0000)]
removed utils.[ch] as their content is integrated in libxml uses the new

* libexslt/.cvsignore libexslt/Makefile.am libexslt/utils.[ch]
  libexslt/common.c libexslt/functions.c libexslt/math.c
  libexslt/sets.c: removed utils.[ch] as their content is
  integrated in libxml
* libexslt/sets.c: uses the new libxml functions
* libxslt/extra.[ch]: removed exsl:document
* AUTHORS: added /me

23 years agosome more generated files to ignore utils.h not installed anymore changed
Thomas Broyer [Sun, 15 Jul 2001 23:24:13 +0000 (23:24 +0000)]
some more generated files to ignore utils.h not installed anymore changed

        * libexslt/.cvsignore: some more generated files to ignore
        * libexslt/Makefile.am: utils.h not installed anymore
        * libexslt/common.c libexslt/exslt.[ch] libexslt/functions.c
          libexslt/math.c libexslt/sets.c:
          changed function prefix from exsl* to exslt*
          {common.c,exslt.c} moved exsltLib{rary,exslt,xslt,xml}Version
          from common.c to exslt.c
          {common.c} removed exslNodeSetFunction, uses xsltFunctionNodeSet
          instead
        * libxslt/extra.c: fixed xsltFunctionNodeSet to accept
          XPATH_NODESET arguments in addition to XPATH_XSLT_TREE
        * xsltproc/xsltproc.c: updated to use the new function prefix

23 years agoSome more generated files to ignore.
Darin Adler [Sun, 15 Jul 2001 20:01:41 +0000 (20:01 +0000)]
Some more generated files to ignore.

* libxslt/.cvsignore:
* tests/XSLTMark/.cvsignore:
* tests/extensions/.cvsignore:
* tests/xmlspec/.cvsignore:
Some more generated files to ignore.

23 years agoIntegrating EXSLT and cleanup:
Daniel Veillard [Sun, 15 Jul 2001 18:30:53 +0000 (18:30 +0000)]
Integrating EXSLT and cleanup:
* Makefile.am configure.in libexslt/Makefile.am:
  Integration of libexslt in the build system
* libxslt/Makefile.am libxslt/xsltproc.c libxslt/xsltutils.c
  xsltproc/Makefile.am xsltproc/xsltproc.c:
  Moved xsltproc to a separate directory, linked it to libexslt,
  and added exslt version reports to -V
* tests/*/Makefile.am: updated the path to xsltproc
* libexslt/common.c libexslt/exslt.h libexslt/exsltconfig.h.in
  libexslt/functions.c libexslt/math.c libexslt/sets.c: added
  versionning informations, some cleanup, and added documentation
  to a couple of exported functions
Daniel

23 years agoaccount for new source files added
Thomas Broyer [Sun, 15 Jul 2001 13:25:00 +0000 (13:25 +0000)]
account for new source files added

        * libexslt/Makefile.am: account for new source files
        * libexslt/.cvsignore: added

23 years agostart implementing EXSLT
Thomas Broyer [Sun, 15 Jul 2001 03:25:37 +0000 (03:25 +0000)]
start implementing EXSLT

23 years agostart implementing EXSLT
Thomas Broyer [Sun, 15 Jul 2001 03:24:40 +0000 (03:24 +0000)]
start implementing EXSLT

        * libexslt/exslt.[hc] libexslt/common.[hc] libexslt/functions.[hc]
          libexslt/math.[hc] libexslt/sets.[hc] libexslt/utils.[hc]
          configure.in libexslt/Makefile.am:
          start implementing EXSLT

23 years agotrying to accept AVT for "format" in xsl:number Daniel
Daniel Veillard [Sat, 14 Jul 2001 20:01:17 +0000 (20:01 +0000)]
trying to accept AVT for "format" in xsl:number Daniel

* libxslt/numbers.c libxslt/numbersInternals.h libxslt/preproc.c:
  trying to accept AVT for "format" in xsl:number
Daniel

23 years agotrying to close #57460 by adding xsltProfileStylesheet Daniel
Daniel Veillard [Thu, 12 Jul 2001 21:02:53 +0000 (21:02 +0000)]
trying to close #57460 by adding xsltProfileStylesheet Daniel

* win32/libxslt/libxslt.defs: trying to close #57460 by adding
  xsltProfileStylesheet
Daniel

23 years agoprovide context for error messages. Requires libxml head changes. fixed a
Daniel Veillard [Thu, 12 Jul 2001 01:32:04 +0000 (01:32 +0000)]
provide context for error messages. Requires libxml head changes. fixed a

* libxslt/documents.c libxslt/extensions.c libxslt/extra.c
  libxslt/functions.c libxslt/imports.c libxslt/keys.c
  libxslt/namespaces.c libxslt/numbers.c libxslt/pattern.c
  libxslt/preproc.c libxslt/templates.c libxslt/transform.c
  libxslt/variables.c libxslt/xslt.c: provide context for
  error messages. Requires libxml head changes.
* libxslt/xsltutils.c libxslt/xsltutils.h: fixed a --profile
  problem
Daniel

23 years agoinitial EXSLT framework Daniel
Daniel Veillard [Tue, 10 Jul 2001 22:33:17 +0000 (22:33 +0000)]
initial EXSLT framework Daniel

* libexslt/Makefile.am: initial EXSLT framework
Daniel

23 years agoreleaseing 1.0.0 added another entry point fixed a comment block updated
Daniel Veillard [Tue, 10 Jul 2001 16:08:10 +0000 (16:08 +0000)]
releaseing 1.0.0 added another entry point fixed a comment block updated

* configure.in libxslt/xsltwin32config.h: releaseing 1.0.0
* win32/libxslt/libxslt.def: added another entry point
* libxslt/transform.c: fixed a comment block
* doc/xslt.html doc/html/*: updated and regenerated the docs
Daniel

23 years agoadded missing functions Daniel
Daniel Veillard [Tue, 10 Jul 2001 15:26:46 +0000 (15:26 +0000)]
added missing functions Daniel

* win32/libxslt/libxslt.def: added missing functions
Daniel

23 years agoadded Embedding Stylesheets added the test from the REC about it tried to
Daniel Veillard [Tue, 10 Jul 2001 15:14:09 +0000 (15:14 +0000)]
added Embedding Stylesheets added the test from the REC about it tried to

* FEATURES libxslt/xsltproc.c libxslt/transform.c
  libxslt/xsltInternals.h: added Embedding Stylesheets
* tests/REC/Makefile.am tests/REC/stand-2.7-1.*: added the test
  from the REC about it
* libxslt/transform.c libxslt/extra.[ch] libxslt/preproc.c:
  tried to accomodate the various (and changing) proprietary
  ways of implementing chunking.
* tests/docbook/result/xtchunk/html: now output is generated in
  ISO-8859-1
Daniel

23 years agosmall cleanup patch from Michal Sajdak for cdata/text handling Daniel
Daniel Veillard [Mon, 9 Jul 2001 21:25:21 +0000 (21:25 +0000)]
small cleanup patch from Michal Sajdak for cdata/text handling Daniel

* libxslt/xsltproc.c: small cleanup
* libxslt/transform.c libxslt/xslt.c : patch from Michal Sajdak
  for cdata/text handling
Daniel

23 years agosmall fix for xsl:message by Stephane GUIBOU added a specific regression
Daniel Veillard [Mon, 9 Jul 2001 20:06:35 +0000 (20:06 +0000)]
small fix for xsl:message by Stephane GUIBOU added a specific regression

* libxslt/xsltutils.c: small fix for xsl:message by Stephane GUIBOU
* tests/documents/Makefile.am tests/documents/message.*: added
  a specific regression test
* libxslt/transform.c: fixed an infinite loop
* configure.in doc/Makefile.am: attempt to add --with-html-dir,
  this may work
Daniel

23 years agofixed exclude-result-prefixes handling and how namespaces propagate from
Daniel Veillard [Mon, 9 Jul 2001 13:59:13 +0000 (13:59 +0000)]
fixed exclude-result-prefixes handling and how namespaces propagate from

* libxslt/transform.c libxslt/xslt.c libxslt/xsltInternals.h:
  fixed exclude-result-prefixes handling and how namespaces
  propagate from the stylesheet to the result in general, this
  is a serious cleanup.
* tests/general/bug-3[67]-inc.xsl tests/general/bug-6-.xsl
  tests/general/itemschoose.out tests/namespaces/extra.xsl
  tests/REC/test-10-1.xsl tests/REC/test-10-2.xsl
  tests/REC/test-11.2-1.xsl tests/REC/test-11.2-2.xsl
  tests/REC/test-11.2-6.xsl tests/REC/test-15-1.xsl
  tests/REC/test-16.1-1.xsl tests/REC/test-16.1-2.xsl
  tests/REC/test-5.4-1.out tests/REC/test-5.4-2.out
  tests/REC/test-5.4-3.out tests/REC/test-5.4-4.out
  tests/REC/test-7.1.1-2.out tests/REC/test-7.1.1-2.xsl
  tests/REC/test-7.1.1-3.out tests/REC/test-7.1.1-3.xsl
  tests/REC/test-7.1.1.out tests/REC/test-7.1.3.xsl
  tests/REC/test-7.3.xsl tests/REC/test-7.4.xsl
  tests/REC/test-7.6.1-1.xsl tests/REC/test-7.6.1-2.xsl
  tests/REC/test-7.6.1-3.xsl tests/REC/test-7.6.2-1.xsl:
  fixed and rechecked all the tests where the namespace
  propagation was wrong either taht the rules were not applied
  correctly or that superfluous namespaces were declared in the
  stylesheets
Daniel