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

121 Commits

Author SHA1 Message Date
Daniel Veillard
b92c9f6ef5 added regression test for old bug #127877 Daniel
* tests/general/bug-151*, tests/docs/bug-151.xml,
  tests/general/Makefile.am, tests/docs/Makefile.am: added
  regression test for old bug #127877
Daniel
2004-05-17 03:07:55 +00:00
Daniel Veillard
42504dbb48 fixing bug #135542 about the DOCTYPE name being generated when the root
* libxslt/transform.c: fixing bug #135542 about the DOCTYPE name
  being generated when the root element is namespaced
* tests/general/bug-151*, tests/docs/bug-151.xml,
  tests/general/Makefile.am, tests/docs/Makefile.am: added
  regression test for bug #135542
Daniel
2004-05-17 00:48:47 +00:00
Daniel Veillard
90d2dcdda9 fixing bug #134500 on namespace lookup for attribute which sometimes lead
* libxslt/namespaces.c libxslt/namespaces.h libxslt/templates.c
  libxslt/transform.c: fixing bug #134500 on namespace lookup for
  attribute which sometimes lead to default namespace
* tests/general/bug-150*, tests/docs/bug-150.xml,
  tests/general/Makefile.am, tests/docs/Makefile.am: added
  regression test for bug #134500
Daniel
2004-05-16 23:40:08 +00:00
Daniel Veillard
f86a7de1b3 fixed a weird namespace bug #141532 added tests to the regression for bug
* libxslt/xslt.c: fixed a weird namespace bug #141532
* tests/docs/Makefile.am tests/docs/bug-14[89].xml
  tests/general/Makefile.am tests/docs/bug-14[89]*: added tests
  to the regression for bug #141532
Daniel
2004-05-16 15:02:15 +00:00
William M. Brack
9a0a36edd1 added comments and function header, improved logic of routine just added.
* libxslt/imports.c: added comments and function header,
  improved logic of routine just added.
* tests/general/bug-147*, tests/docs/bug-147.xml,
  tests/general/Makefile.am, tests/docs/Makefile.am: added
  regression test for bug 141279
2004-05-03 07:19:36 +00:00
Daniel Veillard
15bd1ff308 fixed a stupid cut'npaste bug #139132 added test to the regression for bug
* libxslt/keys.c: fixed a stupid cut'npaste bug #139132
* tests/docs/Makefile.am tests/docs/bug-146.xml
  tests/general/Makefile.am tests/docs/bug-146*: added test
  to the regression for bug #139132
Daniel
2004-04-05 13:26:19 +00:00
William M. Brack
efe7443c2b continued interrupt commit for enhanced "make tests" 2004-03-06 15:11:50 +00:00
Daniel Veillard
2fd968f166 added test similar to 143 but checking for AVT in local variables. Daniel
* tests/docs/Makefile.am tests/docs/bug-144.xml
  tests/general/Makefile.am tests/docs/bug-144*: added test
  similar to 143 but checking for AVT in local variables.
Daniel
2004-02-26 13:54:35 +00:00
Daniel Veillard
35184c8908 fixed a regression for AVT found in global variable content. added test to
* libxslt/attrvt.c libxslt/variables.c: fixed a regression for
  AVT found in global variable content.
* tests/docs/Makefile.am tests/docs/bug-143.xml
  tests/general/Makefile.am tests/docs/bug-143*: added test
  to the regression suite.
Daniel
2004-02-26 12:19:15 +00:00
William M. Brack
bed923d890 added test for language attribute which previously triggered a memory leak
* tests/general/Makefile.am, tests/general/bug-142.xsl,
  tests/general/bug-142.out, tests/docs/Makefile.am,
  tests/general/bug-142.xml: added test for language
  attribute which previously triggered a memory leak
  (from list report by Mike Hommey)
2004-02-25 09:13:20 +00:00
William M. Brack
618a5d5c00 added test case for Bug 13971 (libxml2 xpath.c bug, but tested here)
* tests/general/Makefile.am, tests/general/bug-141.out,
  tests/general/bug-141.xsl, tests/docs/Makefile.am,
  tests/general/bug-141.xml: added test case for
  Bug 13971 (libxml2 xpath.c bug, but tested here)
2004-01-22 02:38:46 +00:00
William M. Brack
4a88d560dc added a newline for any comment before the root element (Bug 130433) fixed
* libxslt/xsltutils.c: added a newline for any comment before
  the root element (Bug 130433)
* libxslt/xslt.c: fixed problem with cdata-section-elements when
  default namespace is changed (Bug 130793)
* tests/extensions/module.out, tests/general/bug-100.out: adjusted
  for newline after comment change above.
* tests/general/Makefile.am, tests/general/bug-140.xsl,
  tests/general/Makefile.am, tests/docs/bug-140.xml: added test for
  cdata-section-elements problem.
2004-01-16 14:17:28 +00:00
Daniel Veillard
53fa74cf29 added test for entities parsing (Bug #129489) Daniel
* tests/docs/Makefile.am tests/docs/bug-139.xml
  tests/general/Makefile.am tests/general/bug-139*: added
  test for entities parsing (Bug #129489)
Daniel
2003-12-21 12:59:00 +00:00
William M. Brack
da0d5bcdf2 added test for namespace problem (Bug 129624)
* tests/docs/Makefile.am tests/docs/bug-138.xml
  tests/general/Makefile.am tests/general/bug-138*: added
  test for namespace problem (Bug 129624)
2003-12-21 12:38:05 +00:00
Daniel Veillard
de541422eb fixed second problem on #122483, namespace definitions must be propagated
* libxslt/keys.c: fixed second problem on #122483, namespace
  definitions must be propagated to keys.
* tests/docs/Makefile.am tests/docs/bug-137.xml
  tests/general/Makefile.am tests/docs/bug-137*: added test
  to the regression for bug #122483
Daniel
2003-12-21 11:52:58 +00:00
William M. Brack
7cb4870e64 fixed bug #127561 (xsl:element with a 'computed' namespace attribute)
* libxslt/transform.c: fixed bug #127561 (xsl:element with a
  'computed' namespace attribute)
* tests/docs/Makefile.am tests/docs/bug-136.xml
  tests/general/Makefile.am tests/docs/bug-136*: added tests
  to the regression for bug #127561
2003-11-21 17:00:22 +00:00
Daniel Veillard
96223c5d6a Adding missing bugs, Daniel 2003-11-21 10:31:35 +00:00
Daniel Veillard
6100c901dd another problem reported by Oleg Paraschenko on the same code in #127450
* libxslt/keys.c: another problem reported by Oleg Paraschenko
  on the same code in #127450
* tests/docs/Makefile.am tests/docs/bug-135.xml
  tests/general/Makefile.am tests/docs/bug-135*: added tests
  to the regression suite for bug #127450.
Daniel
2003-11-20 16:28:36 +00:00
Daniel Veillard
16130f7179 fixed an error from #120684 patch raised in #127450 added tests to the
* libxslt/keys.c: fixed an error from #120684 patch raised in
  #127450
* tests/docs/Makefile.am tests/docs/bug-134.xml
  tests/general/Makefile.am tests/docs/bug-134*: added tests
  to the regression suite for bug #127450.
Daniel
2003-11-20 10:02:08 +00:00
Daniel Veillard
c7d1398e49 fixed a bug in the keys selector parsing #120684 when | is in a predicate
* libxslt/keys.c: fixed a bug in the keys selector parsing
  #120684 when | is in a predicate or a string.
* tests/docs/Makefile.am tests/docs/bug-132.xml
  tests/general/Makefile.am tests/docs/bug-132*: added tests
  to the regression suite for bug #120684.
* Makefile.am: don't package cvs temp files
* doc/apibuild.py: update from libxml2 one
Daniel
2003-11-19 23:25:22 +00:00
William M. Brack
71921e7384 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.
2003-09-06 17:00:16 +00:00
William M. Brack
ce8c487ef7 fixed bug 119946, caused by incorrect creation of "extra" variables when
* pattern.c pattern.h imports.c: fixed bug 119946, caused by
  incorrect creation of "extra" variables when compiling
  templates on imported stylesheets.
* tests/docs/Makefile.am tests/docs/bug-130.xml tests/docs/bug-130.doc
  tests/general/Makefile.am test/docs/bug-130*: added tests
  to the regression suite for this bug.
2003-09-06 17:00:16 +00:00
Daniel Veillard
4eb53ed82c fixing the bug #120971 on cdata-section-elements with namespaced names
* libxslt/transform.c: fixing the bug #120971 on cdata-section-elements
  with namespaced names reported by Steve Hay
* tests/docs/Makefile.am tests/docs/bug-129.*
  tests/general/Makefile.am tests/general/bug-129*: added the
  test to the regression suite for this bug.
Daniel
2003-08-29 10:30:41 +00:00
William M. Brack
68a06e116b enhanced xsltInitCtxtKey to take care of multiple instances of a key with
* keys.c: enhanced xsltInitCtxtKey to take care of multiple
  instances of a key with the same namespace:name, reported
  on the mailing list by Ian Young.  Added regression test
  (bug-128).
2003-08-18 06:50:15 +00:00
Daniel Veillard
499f390740 added the test from bug #118763 to the regression suite. Daniel
* tests/docs/Makefile.am tests/docs/bug-127.*
  tests/general/Makefile.am tests/general/bug-127*: added the
  test from bug #118763 to the regression suite.
Daniel
2003-08-04 01:37:11 +00:00
William M. Brack
52f96f5ba1 Fixing Bug 116517 2003-08-03 11:48:43 +00:00
William M. Brack
7d6a91ecb5 Bug 117552 2003-08-03 08:02:34 +00:00
Daniel Veillard
df6397cd50 allow strip-space to support full namespaces using prefix:* , should fix
* libxslt/transform.c: allow strip-space to support full namespaces
  using prefix:* , should fix #114287
* tests/docs/Makefile.am tests/docs/bug-124.*
  tests/general/Makefile.am tests/general/bug-124*: added a
  test to the regression suite for this bug.


* libxslt/tramsform.c: make xsl:copy on attribute a copy in case
  the attribute was already defined, should fix bug #113812
* tests/docs/Makefile.am tests/docs/bug-123.*
  tests/general/Makefile.am tests/general/bug-123*: added the
  test to the regression suite.

Daniel
2003-07-22 20:59:31 +00:00
Daniel Veillard
e737ae9276 fixing bug #115913 for xsl:copy with namespace nodes. added the test to
* libxslt/transform.c: fixing bug #115913 for xsl:copy with namespace
  nodes.
* tests/docs/Makefile.am tests/docs/bug-122.*
  tests/general/Makefile.am tests/general/bug-122*: added the
  test to the regression suite.
Daniel
2003-07-06 16:33:43 +00:00
Daniel Veillard
b487aba889 added the example for bug #112904 in the regression tests, the bug fix is
* tests/docs/Makefile.am tests/docs/bug-121.*
  tests/general/Makefile.am tests/general/bug-121*: added the
  example for bug #112904 in the regression tests, the bug fix is
  actually in libxml2
Daniel
2003-05-16 18:23:07 +00:00
William M. Brack
40d8d1fe19 Fixed bug 112995 2003-05-15 03:53:33 +00:00
Daniel Veillard
95cc2c1cef fixing bug #111755 when a template is applied to an attribute added the
* libxslt/transform.c: fixing bug #111755 when a template is
  applied to an attribute
* tests/docs/Makefile.am tests/docs/bug-119.*
  tests/general/Makefile.am tests/general/bug-119*: added the
  example in the regression tests for that bug.
Daniel
2003-04-30 13:25:24 +00:00
Daniel Veillard
6b9c89d2e4 fix bug #110577 namespace in copy-of don't obbey the same rules as for
* libxslt/transform.c: fix bug #110577 namespace in copy-of
  don't obbey the same rules as for literal reusl elements.
* tests/docs/Makefile.am tests/docs/bug-118.*
  tests/general/Makefile.am tests/general/bug-118*: added the
  example in the regression tests for that bug.
* libxslt/variables.c: fixed a bug introduced in fixing #110020
* tests/docs/Makefile.am tests/docs/bug-11[67].*
  tests/general/Makefile.am tests/general/bug-11[67]*: added 2
  regression tests one still exposing a mem leak (Mark Vadoc).
Daniel
2003-04-23 12:30:07 +00:00
Daniel Veillard
7d2d946260 Fixes bug #110023 reported by Mark Vakoc and other places where
* libxslt/keys.c libxslt/templates.c libxslt/transform.c
  libxslt/variables.c: Fixes bug #110023 reported by Mark Vakoc and
  other places where ctxt->document pointer may be used without
  checking it agaisnt NULL.
* tests/docs/Makefile.am tests/docs/bug-115.*
  tests/general/Makefile.am tests/general/bug-115*: added the
  example in the regression tests for that bug.
* libxslt/trio.h libxslt/triodef.h: update of Trio from Bjorn Reese
Daniel
2003-04-07 12:41:56 +00:00
Daniel Veillard
c8dfadb0ad fixed a namespace redundancy problem in xsl:element added an example in
* libxslt/transform.c: fixed a namespace redundancy problem
  in xsl:element
* tests/docs/Makefile.am tests/docs/bug-114.*
  tests/general/Makefile.am tests/general/bug-114*: added an
  example in the regression tests for that bug.
Daniel
2003-04-01 09:29:28 +00:00
Daniel Veillard
d56e5f9e61 added an example in the regression tests for bug #109160 fixed in libxml2
* tests/docs/Makefile.am tests/docs/bug-113.*
  tests/general/Makefile.am tests/general/bug-113*: added an
  example in the regression tests for bug #109160 fixed in libxml2
Daniel
2003-03-26 21:41:37 +00:00
Daniel Veillard
fcf08be4ae forgot to make one change related to Result Value Tree change, pointed out
* libxslt/transform.c: forgot to make one change related to
  Result Value Tree change, pointed out by Sebastian Rahtz
* tests/docs/Makefile.am tests/docs/bug-112.*
  tests/general/Makefile.am tests/general/bug-112*: added an
  example in the regression tests that bug
Daniel
2003-03-26 18:31:38 +00:00
Daniel Veillard
145c37ba02 Finally fixed bug #75813, processing or Result Value Tree converted into
* libxslt/pattern.c libxslt/transform.c libxslt/variables.c:
  Finally fixed bug #75813, processing or Result Value Tree
  converted into node-sets should be a bit more sensible now.
* tests/exslt/common/node-set.2.out: the associated fix in libxml2
  fixes this regression test, there is 4 nodes, not 3
* tests/docs/Makefile.am tests/docs/bug-111.*
  tests/general/Makefile.am tests/general/bug-111*: added an
  example in the regression tests for bug #75813
Daniel
2003-03-24 14:04:00 +00:00
Daniel Veillard
9dc7f17ba4 added an example in the regression tests for bug #108976 which is fixed in
* tests/docs/Makefile.am tests/docs/bug-110.*
  tests/general/Makefile.am tests/general/bug-110*: added an
  example in the regression tests for bug #108976 which is
  fixed in libxml2
Daniel
2003-03-23 12:10:47 +00:00
Daniel Veillard
ae09cdfb15 added an example in the regression tests for the invalid bug #108716
* tests/docs/Makefile.am tests/docs/bug-109.xml
  tests/general/Makefile.am tests/general/bug-109*: added an
  example in the regression tests for the invalid bug #108716
Daniel
2003-03-22 11:36:51 +00:00
Daniel Veillard
501d615ec1 added an example in the regression tests bug #107804 fixed in libxml2
* tests/docs/Makefile.am tests/docs/bug-108.xml
  tests/general/Makefile.am tests/general/bug-108*: added an
  example in the regression tests bug #107804 fixed in libxml2
Daniel
2003-03-07 14:30:57 +00:00
Daniel Veillard
9a9d10d1d4 fixed bug #107591 node() in pattern matches should catch comments and PIs
* libxslt/pattern.c: fixed bug #107591 node() in pattern
  matches should catch comments and PIs
* tests/docs/Makefile.am tests/docs/bug-107.xml
  tests/general/Makefile.am tests/general/bug-107*: added an
  example in the regression tests for this case
Daniel
2003-03-05 11:50:54 +00:00
Daniel Veillard
f64f32ef92 added the next example for bug #106788 from James Clark in the regression
* tests/docs/Makefile.am tests/docs/bug-106.xml
  tests/general/Makefile.am tests/general/bug-106*: added the next
  example for bug #106788 from James Clark in the regression tests,
  the bug fix is actually in libxml2
Daniel
2003-02-26 15:51:22 +00:00
Daniel Veillard
76575b814d added the example for bug #106788 from James Clark in the regression
* tests/docs/Makefile.am tests/docs/bug-105.xml
  tests/general/Makefile.am tests/general/bug-105*: added the
  example for bug #106788 from James Clark in the regression tests,
  the bug fix is actually in libxml2
Daniel
2003-02-23 13:56:23 +00:00
Daniel Veillard
31ac747bdb fixed bug #106789 from James Clark and a bit of cleanup added the example
* libxslt/namespaces.c libxslt/transform.c: fixed bug #106789 from
  James Clark and a bit of cleanup
* tests/docs/Makefile.am tests/docs/bug-104.xml
  tests/general/Makefile.am tests/general/bug-104*: added the
  example in the regression tests for this case
Daniel
2003-02-23 13:27:05 +00:00
Daniel Veillard
745ee1b06d fixing bug #105116 sometimes one need to generate a default namespace
* libxslt/transform.c: fixing bug #105116 sometimes one need
  to generate a default namespace reset xmlns="" in the output
* tests/docs/Makefile.am tests/docs/bug-103.xml
  tests/general/Makefile.am tests/general/bug-103*: added the
  example in the regression tests for this case
Daniel
2003-02-04 21:12:33 +00:00
Daniel Veillard
21df755925 fixed bug #101003 on attribute-sets value computation in the presence of
* libxslt/attributes.c libxslt/xsltInternals.h libxslt/imports.c
  libxslt/xslt.c: fixed bug #101003 on attribute-sets value
  computation in the presence of imports
* tests/docs/Makefile.am tests/docs/bug-102.xml
  tests/general/Makefile.am tests/general/bug-102*: added an
  example in the regression tests for this case
Daniel
2003-01-12 22:58:59 +00:00
Daniel Veillard
8f56a0b269 xsl:element generated superfluous xmlns declarations, closes bug #99905
* libxslt/transform.c: xsl:element generated superfluous xmlns
  declarations, closes bug #99905
* tests/docs/Makefile.am tests/docs/bug-101.xml
  tests/general/Makefile.am tests/general/bug-101.*: added the
  example in the regression tests for this case
Daniel
2002-12-05 17:07:18 +00:00
Daniel Veillard
4903b60542 applied patch from Josh Parsons fixing bug #100056 added the example in
* libxslt/extensions.c: applied patch from Josh Parsons fixing bug
  #100056
* tests/docs/Makefile.am tests/docs/bug-100.xml
  tests/general/Makefile.am tests/general/bug-100.*: added the
  example in the regression tests for this case
* tests/docs/Makefile.am tests/docs/bug-99.xml
  tests/general/Makefile.am tests/general/bug-99.*: this test
  covers an xsl:attribute namespace bug that Norm pointed out.
Daniel
2002-12-02 16:22:07 +00:00
Daniel Veillard
f0e711ee9c make sure the fixup for key() reported by John Escott actually works.
* libxslt/functions.c: make sure the fixup for key() reported
  by John Escott actually works.
* tests/docs/Makefile.am tests/docs/bug-98.xml
  tests/general/Makefile.am tests/general/bug-98.*: added the
  example in the regression tests for this case
Daniel
2002-11-14 09:05:49 +00:00