1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-08 11:02:18 +03:00
Commit Graph

42 Commits

Author SHA1 Message Date
Daniel Veillard
94144f8fe8 rewrote the way strip-space gets applied. Closes bugs #61962 added a
* libxslt/imports.[ch] libxslt/transform.c libxslt/xslt.c:
  rewrote the way strip-space gets applied. Closes bugs #61962
* tests/docs/Makefile.am tests/docs/bug-66.xml
  tests/general/Makefile.am tests/general/bug-66.*: added a
  specific example in the regression tests
Daniel
2001-10-09 10:38:51 +00:00
Daniel Veillard
a8c9bceeaf fixing bug #61673 part II added a specific example in the regression tests
* libxslt/variables.c: fixing bug #61673 part II
* tests/docs/Makefile.am tests/docs/bug-65.xml
  tests/general/Makefile.am tests/general/bug-65.*: added a
  specific example in the regression tests
Daniel
2001-10-06 13:11:36 +00:00
Daniel Veillard
c4024f11bd Forgot to do it in previous commit, Daniel 2001-10-06 11:02:41 +00:00
Daniel Veillard
2db3204c7d 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
2001-09-17 12:52:18 +00:00
Daniel Veillard
cc975baab0 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
2001-09-14 13:23:51 +00:00
Daniel Veillard
e9f69e00c2 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
2001-09-11 11:45:45 +00:00
Daniel Veillard
cdad73d46d 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
2001-09-11 10:47:57 +00:00
Daniel Veillard
307550093f 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
2001-08-15 13:21:46 +00:00
Daniel Veillard
6ee8beb052 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
2001-08-14 13:35:41 +00:00
Daniel Veillard
d4956ec17b 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
2001-08-12 19:55:12 +00:00
Daniel Veillard
c3e6b8a663 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
2001-08-07 01:14:30 +00:00
Daniel Veillard
c2dc2ac6eb 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
2001-07-08 14:35:46 +00:00
Daniel Veillard
6744bd096b - 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
2001-07-07 17:05:02 +00:00
Daniel Veillard
78e30d87ad 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
2001-07-07 09:21:53 +00:00
Daniel Veillard
9c25652524 closing bug #56517, fixed a number of problems in the patterns
* libxslt/pattern.c: closing bug #56517, fixed a number of
  problems in the patterns compilations, priorities and debug
* libxslt/transform.c: improved the template debug message
* tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-39-* tests/docs/bug-39-*: added a specific
  regression test for #56517
Daniel
2001-06-23 12:24:49 +00:00
ÉRDI Gergo
b58357db78 Adding generated files to .cvsignore -- Hope you don't mind, Daniel 2001-06-18 21:02:58 +00:00
Daniel Veillard
59d1ddb347 - libxslt/namespaces.[ch]: added a single namespace def copy
operation xsltCopyNamespace(). cleaned up xsltCopyNamespaceList()
- libxslt/transform.c: cleaned up xsltCopyNode to cope with
  any kind of input nodes.
- libxslt/variables.c: checked and closed the last TODO about
  namespace propagation
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-38-* tests/docs/bug-38-*: added a specific
  regression test for #56115
Daniel
2001-06-16 21:33:05 +00:00
Daniel Veillard
4bfa9d3e81 - libxslt/variables.c: fixed bug #56267, namespaces must
be propagated when evaluating local variables.
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-37-* tests/docs/bug-37-*: added a specific
  regression test for #56267
Daniel
2001-06-15 22:33:52 +00:00
Daniel Veillard
2e5b47750a - libxslt/preproc.c: removed a warning on xsl:transform
- tests/docs/Makefile.am tests/docs/array.xml tests/general/Makefile.am
  tests/general/array.out tests/general/array.xsl: added a new
  test fround in xsl-dev
Daniel
2001-06-14 08:09:43 +00:00
Daniel Veillard
8e0fa46829 - libxslt/variables.c: fixed bug #55670, namespaces must
be propagated when evaluating global variables.
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-36-* tests/docs/bug-36-*: added a specific
  regression test for #55670
Daniel
2001-06-11 11:44:36 +00:00
Daniel Veillard
cf61bf60f1 - libxslt/transform.c: closed bug #55723, problem was due to
a limitation of xsltGetNamespace() when the insertion point
  is the document.
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-35-* tests/docs/bug-35-*: added a specific
  regression test for #55723
Daniel
2001-06-10 19:54:50 +00:00
Daniel Veillard
422e3fc30e - tests/docs/Makefile.am tests/general/Makefile.am
tests/general/bug-32-* tests/docs/bug-32-*: added a specific
  regression test for #55722
Daniel
2001-06-06 08:24:24 +00:00
Daniel Veillard
6c06207b82 - doc/xslt.html: updated to ask to not send mail directly
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-33-* tests/docs/bug-33-*: added a specific
  regression test for #55722
Daniel
2001-06-06 07:52:17 +00:00
Daniel Veillard
3690f0bdcc - libxslt/transform.c: fixed handling of PI and comments
(bug raised by Brent M Hendricks).
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-31-* tests/docs/bug-31-*: added a specific
  regression test
Daniel
2001-05-26 15:09:54 +00:00
Daniel Veillard
59cd2492c0 - libxslt/variables.c: Mark Vakoc found a bug in variable eval
at the top template level
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-30-* tests/docs/bug-30-*: added a specific
  regression test
Daniel
2001-05-22 22:07:42 +00:00
Daniel Veillard
6540b25a72 - libxslt/functions.c: fixed the document() bug reported by
Stephane GUIBOUD-RIBAUD
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-29-* tests/docs/bug-29-*: added a specific
  regression test
Daniel
2001-05-22 16:58:12 +00:00
Daniel Veillard
d364f5dc2d - libxslt/keys.c libxslt/transform.c: avoid some possibilities
of crashes on debug
- tests/REC/Makefile.am: be less verbose if things really go wrong
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/docs/bug-28-.xml tests/general/bug-28-.*: added bug-28 in
  the regression tests
Daniel
2001-05-15 12:37:01 +00:00
Daniel Veillard
a7c43a4198 - libxslt/templates.c libxslt/transform.c: fixed bug #54446
about attribute being generated twice. Fixed a number of related
  bugs on attributes handling.
- tests/REC/test-7.1.4.out: this changed an attribute generation
  order
- tests/docs/bug-27-.xml tests/general/bug-27-.*: added test
Daniel
2001-05-11 17:15:46 +00:00
Daniel Veillard
69cf756db5 - libxslt/templates.c: fixed bug #54451 on escaped curly brackets
- tests/docs/bug-26-.xml tests/general/bug-26-.*: added test
Daniel
2001-05-11 15:11:21 +00:00
Daniel Veillard
2e8ebaef0d - doc/xslt.html: fixed a link error
- libxslt/transform.c libxslt/xsltutils.c: fixed DOCTYPE generation
- libxslt/xsltproc.c: cleaned up the --repeat loop
- tests/documents/result.xhtml tests/xmlspec/REC-xml-20001006*.html:
  fixed the DOCTYPE in tests output
- tests/docs/bug-25-.xml tests/doc/Makefile.am
  tests/general/bug-25-.* tests/general/Makefile.am : added a new
  test case and fixed the EXTRA_DIST
Daniel
2001-05-08 14:24:04 +00:00
Daniel Veillard
d7f08ef976 - tests/general/bug-2[0-4].* tests/docs/bug-2[0-4].*: added more
tests especially on sorting
- test/xsltutils.c: oops multiple sorts was actually broken !!!
  this should fix it
Daniel
2001-05-04 15:08:23 +00:00
Daniel Veillard
1693b99201 - libxslt/preproc.c libxslt/xslt.c libxslt/xsltInternals.h
libxslt/xsltproc.c: counting errors and warnings at compilation
  time. Stop processing in case of error.
- tests/docs/bug-1[89]* tests/general/-1[89]* tests/general/inner.xsl:
  added more namespace related bug checks
Daniel
2001-04-30 17:33:47 +00:00
Daniel Veillard
4e399c1775 - libxslt/variables.c: fixing bug #53769
- tests/general tests/docs: added new examples from the
  bug reports to the regression tests, updated the Makefiles
Daniel
2001-04-29 16:59:23 +00:00
Daniel Veillard
8113c33fb1 - test/general/bug-14*.* test/docs/bug-14*.xml: added testcase from
bug #53689
Daniel
2001-04-26 14:35:32 +00:00
Daniel Veillard
ed555ce08b Cleanup: - transform.c: fixed text and cdata handling in xsl:copy - xslt.c
Cleanup:
- transform.c: fixed text and cdata handling in xsl:copy
- xslt.c : avoid crashing on invalid xslt input
- test/general/bug-*.* test/docs/bug-*.xml : added a number of
  bugs submitted to the regression tests
Daniel
2001-04-25 15:05:54 +00:00
Daniel Veillard
6f01c32a40 - transform.c: fixed #53401
- configure.in libxslt/*.c: allowed to suppress debug reporting
  functionalities but it brings not noticeable improvements
- doc/xslt.html doc/html/*: updated and regenerated docs
Daniel
2001-04-22 20:31:17 +00:00
Daniel Veillard
bdcd6346ff - libxslt/keys.c libxslt/preproc.c libxslt/templates.c
libxslt/transform.c libxslt/variables.c libxslt/xsltInternals.h:
  fixed for the most part the namespace handling problem in XPath
  expression computations.
- test/doc/ tests/general: added bug 5 and 6
Daniel
2001-04-16 14:10:45 +00:00
Daniel Veillard
642b5a5b1a - libxslt/transform.c: robert@xsl.00008.org pointed out a
problem in xsl:copy-of in case of attributes
- tests/docs/Makefile.am tests/docs/bug-3-.xml
  tests/general/Makefile.am tests/general/bug-3-.*:
  added the test to the general regression suite
Daniel
2001-03-14 14:53:54 +00:00
Daniel Veillard
47172c2a04 Preparing libxslt-0.5.0 while libxml-2.3.4 is uploading:
- configure.in: time for 0.5.0
- tests/docs/Makefile.am tests/general/Makefile.am: make sure the
  new test files are included in the distribution
- doc/xslt.html : updated
- doc/html/*.html: regenerated the docs
Daniel
2001-03-10 13:00:25 +00:00
Daniel Veillard
9599ea7b74 I'm gonna change my nick to FlyTox at some point ...:
- imports.c transform.c xslt.c xsltInternals.h: fixed a
   strip-spaces problem
 - tests/docs/*.xml tests/general/*.[xsl,out]: added reported
   bugs to testsuite
Daniel
2001-03-07 17:05:56 +00:00
Daniel Veillard
1e99c95969 Added more test stuff and tested xsl:choose:
- FEATURES: updated choose/when/otherwise added
- libxslt/transform.c: plugged choose in
- configure.in tests/Makefile.am tests/REC/Makefile.am
  tests/docs/Makefile.am tests/docs/items.xml tests/general/Makefile.am
  tests/general/itemschoose.*: started adding a more generic
  infrastructure for testing.
Daniel
2001-02-01 13:57:07 +00:00
William M. Brack
8a5bfd81e5 enhanced previous fix to bug #120684, using excellent suggestion by Daniel
* transform.c: enhanced previous fix to bug #120684, using
  excellent suggestion by Daniel
* attributes.c: fixed bug #119583, merging attribute sets
  from imported stylesheets.
* tests/docs/Makefile.am tests/docs/bug-131.xml
  tests/general/Makefile.am tests/docs/bug-131*: added tests
  to the regression suite for bug #120684.
1997-01-03 23:29:29 +00:00