platform/upstream/libxslt.git
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

23 years agoNorm pointed out that element-available() didn't work, implemented it
Daniel Veillard [Sun, 8 Jul 2001 20:21:05 +0000 (20:21 +0000)]
Norm pointed out that element-available() didn't work, implemented it

* libxslt/extra.c libxslt/functions.c libxslt/transform.[ch]
  libxslt/variables.h: Norm pointed out that element-available()
  didn't work, implemented it
* tests/extensions/Makefile.am tests/extensions/list.*: added
  a test for all registered xslt element, function and default
  extensions.
Daniel

23 years agoadded a test for URI-escaping on document() input Daniel
Daniel Veillard [Sun, 8 Jul 2001 18:45:45 +0000 (18:45 +0000)]
added a test for URI-escaping on document() input Daniel

* tests/documents/Makefile.am 'tests/documents/doc file.xml'
  tests/documents/docfile.xml tests/documents/test.result
  tests/documents/test.xml tests/documents/test.xsl:
  added a test for URI-escaping on document() input
Daniel

23 years agoadded a couple of regression tests for bugs posted on the list Daniel
Daniel Veillard [Sun, 8 Jul 2001 14:35:46 +0000 (14:35 +0000)]
added a couple of regression tests for bugs posted on the list Daniel

* tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-49-* tests/docs/bug-49-*
  tests/general/bug-50-* tests/docs/bug-50-*: added a
  couple of regression tests for bugs posted on the list
Daniel

23 years agoavoid generating CDATA node in document tree when parsed, force generation
Daniel Veillard [Sun, 8 Jul 2001 13:42:21 +0000 (13:42 +0000)]
avoid generating CDATA node in document tree when parsed, force generation

* libxslt/xsltproc.c: avoid generating CDATA node in document
  tree when parsed, force generation of text nodes instead.
Daniel

23 years agofixed a number of typo found by Dan York improved the profiling ouput,
Daniel Veillard [Sun, 8 Jul 2001 12:40:43 +0000 (12:40 +0000)]
fixed a number of typo found by Dan York improved the profiling ouput,

* doc/extensions.html: fixed a number of typo found by Dan York
* libxslt/xsltutils.c: improved the profiling ouput, added the
  average value too.
Daniel

23 years agotryingt to fix a problem raised by Norm Daniel
Daniel Veillard [Sat, 7 Jul 2001 22:12:33 +0000 (22:12 +0000)]
tryingt to fix a problem raised by Norm Daniel

* libxslt/variables.c: tryingt to fix a problem raised by Norm
Daniel

23 years agoadded gettimeofday() check profiling works option --profile (or --norman
Daniel Veillard [Sat, 7 Jul 2001 21:24:06 +0000 (21:24 +0000)]
added gettimeofday() check profiling works option --profile (or --norman

* config.h.in configure.in: added gettimeofday() check
* libxslt/transform.c libxslt/xsltInternals.h libxslt/xsltutils.[ch]:
  profiling works option --profile (or --norman ;)
Daniel

23 years ago- libxslt/templates.c libxslt/transform.c libxslt/transform.h
Daniel Veillard [Sat, 7 Jul 2001 17:05:02 +0000 (17:05 +0000)]
- libxslt/templates.c libxslt/transform.c libxslt/transform.h
  libxslt/variables.c: big cleanup on the way templates or
  template fragments are processed, cleanup of stack building
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-4[1-8]-* tests/docs/bug-4[1-8]-*: added a
  series of regression test for the variable/params lookups
- libxslt/transform.c libxslt/xsltutils.[ch] libxslt/xsltproc.c:
  started working on profiling code, there is just invocation counting
  yet but the framework is in place.
Daniel

23 years agoadded a specific regression test for the variable scope within templates
Daniel Veillard [Sat, 7 Jul 2001 09:21:53 +0000 (09:21 +0000)]
added a specific regression test for the variable scope within templates

* tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-40-* tests/docs/bug-40-*: added a specific
  regression test for the variable scope within templates problem
Daniel

23 years agoFixed variable scope problem
William M. Brack [Sat, 7 Jul 2001 09:11:11 +0000 (09:11 +0000)]
Fixed variable scope problem

23 years agoupdated the top page, Daniel
Daniel Veillard [Sat, 7 Jul 2001 00:14:50 +0000 (00:14 +0000)]
updated the top page, Daniel

23 years agoCleanup and added a entry for the shutdown function.
Daniel Veillard [Fri, 6 Jul 2001 16:33:55 +0000 (16:33 +0000)]
Cleanup and added a entry for the shutdown function.
Daniel

23 years agoWriting documentation blows but is really needed <grin/>
Daniel Veillard [Fri, 6 Jul 2001 15:44:44 +0000 (15:44 +0000)]
Writing documentation blows but is really needed <grin/>
* doc/extensions.html doc/internals.html doc/xslt.html:
  added a documentation on writing libxslt extensions, and
  added links to the main page
* libxslt/functions.c libxslt/xsltInternals.h
Daniel

23 years ago*** empty log message ***
William M. Brack [Fri, 6 Jul 2001 06:49:11 +0000 (06:49 +0000)]
*** empty log message ***

23 years agoCleanup messages and comments
William M. Brack [Fri, 6 Jul 2001 06:36:32 +0000 (06:36 +0000)]
Cleanup messages and comments

23 years agoadded 0.14.0 release Daniel
Daniel Veillard [Fri, 6 Jul 2001 00:00:14 +0000 (00:00 +0000)]
added 0.14.0 release Daniel

* doc/xslt.html: added 0.14.0 release
Daniel

23 years agoreleased 0.14.0 Daniel
Daniel Veillard [Thu, 5 Jul 2001 23:44:43 +0000 (23:44 +0000)]
released 0.14.0 Daniel

* configure.in libxslt/xsltwin32config.h: released 0.14.0
Daniel

23 years agorebuilt docs before release fixed a function doc header Daniel
Daniel Veillard [Thu, 5 Jul 2001 23:02:43 +0000 (23:02 +0000)]
rebuilt docs before release fixed a function doc header Daniel

* doc/html/*: rebuilt docs before release
* libxslt/extensions.c: fixed a function doc header
Daniel

23 years ago- FEATURES: updated - libxslt/xslt.c libxslt/xsltInternals.h: added
Daniel Veillard [Thu, 5 Jul 2001 22:43:40 +0000 (22:43 +0000)]
- FEATURES: updated - libxslt/xslt.c libxslt/xsltInternals.h: added

- FEATURES: updated
- libxslt/xslt.c libxslt/xsltInternals.h: added exclude-result-prefix
  support
- tests/REC/Makefile.am tests/REC/test-7.1.1-[23]*: added a couple
  of specific tests
- tests/xmlspec/REC-xml-20001006-review.html: seems this changed
  something there, not visually perceptible
Daniel

23 years ago- tests/docbook/result/: the change in libxml affected the
Daniel Veillard [Thu, 5 Jul 2001 20:51:51 +0000 (20:51 +0000)]
- tests/docbook/result/: the change in libxml affected the
  output of the Docbook tests (of course it was detected on
  a DocBook example)
Daniel

23 years agoupdated added cdata-section-elements added 2 tests from the REC Daniel
Daniel Veillard [Thu, 5 Jul 2001 13:15:16 +0000 (13:15 +0000)]
updated added cdata-section-elements added 2 tests from the REC Daniel

* FEATURES: updated
* libxslt/transform.c: added cdata-section-elements
* tests/REC/Makefile.am tests/REC/test-16.1-*: added 2 tests from the REC
Daniel

23 years agoUpdated the bug reporting section,
Daniel Veillard [Thu, 5 Jul 2001 09:55:06 +0000 (09:55 +0000)]
Updated the bug reporting section,
Daniel

23 years agoupdated do not dump document for which there have been no generated
Daniel Veillard [Thu, 5 Jul 2001 08:59:37 +0000 (08:59 +0000)]
updated do not dump document for which there have been no generated

* FEATURES: updated
* libxslt/xsltutils.c: do not dump document for which there have
  been no generated content
* tests/multiple/result.xml tests/namespaces/extra2.out: fixed
  test output accordingly
* libxslt/transform.c libxslt/preproc.c: added xsl:fallback support
* tests/REC/Makefile.am tests/REC/test-15-1.*: xsl:fallback test
* tests/xmlspec/Makefile.am tests/docbook/Makefile.am: cleanups
Daniel

23 years ago- libxslt/extension.[ch] libxslt/extra.[ch] libxslt/xsltInternals.h
Daniel Veillard [Wed, 4 Jul 2001 13:22:40 +0000 (13:22 +0000)]
- libxslt/extension.[ch] libxslt/extra.[ch] libxslt/xsltInternals.h
  libxslt/transform.c libxslt/functions.c: Added the extension API
  suggested by Thomas Broyer, this should allow implementation of
  EXSLT for example.
- libxslt/extra.[ch]: added a fake xsltFunctionLocalTime() in Norm's
  CVS extension namespace to avoid complaints, some cleanup
- configure.in tests/Makefile.am tests/extensions/*: added a test
  for new modules testing both elements and functions registration
Daniel

23 years agoadded xsltGetQNameURI() and cleaned up the way URI for QNames were
Daniel Veillard [Fri, 29 Jun 2001 21:36:22 +0000 (21:36 +0000)]
added xsltGetQNameURI() and cleaned up the way URI for QNames were

* libxslt/pattern.c libxslt/preproc.c libxslt/transform.c
  libxslt/xslt.c libxslt/xsltutils.[ch]: added xsltGetQNameURI()
  and cleaned up the way URI for QNames were computed through
  the code, serious cleanup.
* libxslt/xsltInternals.h libxslt/xslt.c: moved cdata-sections
  in their own hash table, implementation not yet finished.
Daniel

23 years ago- libxslt/keys.c libxslt/templates.c libxslt/transform.c
Daniel Veillard [Thu, 28 Jun 2001 21:03:31 +0000 (21:03 +0000)]
- libxslt/keys.c libxslt/templates.c libxslt/transform.c
  libxslt/variables.c libxslt/xsltutils.c: hum seems I forgot
  to save/restore some XPath context, bug raised by
  Steve Cheng
Daniel

23 years agoOops forgot to add libxslt.h, Daniel
Daniel Veillard [Thu, 28 Jun 2001 14:24:41 +0000 (14:24 +0000)]
Oops forgot to add libxslt.h, Daniel

23 years agoadded configuration/version informations for Windows/MSC internal header
Daniel Veillard [Thu, 28 Jun 2001 14:23:39 +0000 (14:23 +0000)]
added configuration/version informations for Windows/MSC internal header

* libxslt/xsltwin32config.h[.in]: added configuration/version
  informations for Windows/MSC
* libxslt/libxslt.h libxslt/*.c: internal header to centralize
  includes switches
* libxslt/Makefile.am: added libxslt.h and xsltwin32config.h[.in]
* libxslt/*.[ch] libxslt/*.in: quite a bit of cleanup, especially
  the email addresses
* AUTHORS: added William
Daniel

23 years agoreleasing 0.13.0 don't index the win32 include rebuilt the docs Daniel
Daniel Veillard [Tue, 26 Jun 2001 16:48:50 +0000 (16:48 +0000)]
releasing 0.13.0 don't index the win32 include rebuilt the docs Daniel

* configure.in doc/xslt.html: releasing 0.13.0
* doc/Makefile.am: don't index the win32 include
* doc/html/*: rebuilt the docs
Daniel

23 years agoCleanup and workaround a docbook XSL error:
Daniel Veillard [Mon, 25 Jun 2001 13:35:30 +0000 (13:35 +0000)]
Cleanup and workaround a docbook XSL error:

* libxslt/xsltproc.c: John Fleck found a typo in usage()
* libxslt/xslt.c: avoid warning if version="1.1" is used
* libxslt/transform.c: forgot to initialize cur->outputFile
* libxslt/functions.c: DOCBOOK_XSL_HACK some versions of DocBook XSL
  use the vendor string to detect supporting chunking, this
  is a workaround to be considered in the list of decent XSLT
  processors <grin/>
Daniel

23 years agoLots of cleanup work toward betted multiple document output handling:
Daniel Veillard [Mon, 25 Jun 2001 10:58:40 +0000 (10:58 +0000)]
Lots of cleanup work toward betted multiple document output handling:

* libxslt/transform.[ch] libxslt/xslt.c libxslt/xsltInternals.h:
  added a new interface xsltRunStylesheet() for a more flexible
  handling of the output and trying to adhere to xsl:document
  filename generation semantic if one knows the URL of the output,
  also add IObuf capacity and SAX for output but is currently not
  implemented.
* libxslt/xsltproc.c: added a -o or --output filename argument
  to test xsltRunStylesheet() or provide a base when generating
  multiple outputs
* tests/docbook/Makefile.am tests/docbook/result/xtchunk/html/*:
  updated tests to add DocBook xt:document based chunking
* tests/multiple/Makefile.am: cleaned up the makefile a bit
* tests/multiple/out/*.html: the new xt:document now generate
  the DOCTYPE if available as is the case for HTML
Daniel

23 years agoRevised default template processing for attribute node
William M. Brack [Mon, 25 Jun 2001 01:01:47 +0000 (01:01 +0000)]
Revised default template processing for attribute node

23 years agoupdated
William M. Brack [Sun, 24 Jun 2001 06:45:18 +0000 (06:45 +0000)]
updated

23 years agoenhanced ApplyTemplates and ForEach to allow multiple documents
William M. Brack [Sun, 24 Jun 2001 06:41:16 +0000 (06:41 +0000)]
enhanced ApplyTemplates and ForEach to allow multiple documents
within a single nodelist. Repaired small bug in document function.