1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-06 23:49:25 +03:00
Commit Graph

199 Commits

Author SHA1 Message Date
Daniel Veillard
6267ef434a - libxslt/xsltutils.[ch]: closing bug #55683 required to add
xsltGetNsProp()
- libxslt/attributes.c libxslt/imports.c libxslt/namespaces.c
  libxslt/preproc.c libxslt/templates.c libxslt/xslt.c:
  Updated to use the new function
- tests/XSLTMark/prettyprint.out tests/docbook/result/html/*.html:
  the fixes in the serialization of <pre> in HTML in libxml
  led to a number of changes in the output
Daniel
2001-06-07 19:35:15 +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
fc08492214 - libxslt/pattern.c : trying to fix #55670
- tests/XSLTMark/reverser.out : result of test changed when
  William fixed XPath
Daniel
2001-06-05 15:08:14 +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
5256b326be - libxslt/xsltproc.c: added --xinclude in the option list,
patch from Raphael Hertzog
- test/docbook/Makefile.am: force at least the gdp-handbook.xml
  test in the normal testsuite
Daniel
2001-05-23 12:14:10 +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
d4ab0d4a43 - tests/documents/Makefile.am tests/general/Makefile.am
tests/multiple/Makefile.am tests/namespaces/Makefile.am
  tests/numbers/Makefile.am tests/xmlspec/Makefile.am
  tests/REC/Makefile.am tests/REC1/Makefile.am tests/REC2/Makefile.am
  tests/XSLTMark/Makefile.am tests/docbook/Makefile.am
  configure.in: Makefiles cleanup from Joe Orton
Daniel
2001-05-20 18:57:32 +00:00
Daniel Veillard
43f6596668 Previous commit broke ???
Daniel
2001-05-20 13:23:02 +00:00
Daniel Veillard
62297def13 - tests/docbook/result/html/external.html
tests/docbook/result/html/graphics.html
  tests/docbook/result/html/gtest.html
  tests/docbook/test/external.xml tests/docbook/test/subdoc.ent:
  Added a test from coolo for IDs in external parsed entities
  and fixed 2 outputs
Daniel
2001-05-20 13:22:24 +00:00
Daniel Veillard
0643448255 - tests/documents/Makefile.am tests/general/Makefile.am
tests/multiple/Makefile.am tests/namespaces/Makefile.am
  tests/numbers/Makefile.am tests/xmlspec/Makefile.am:
  Seems some of the changes I made for 0.9.0 Makefiles were
  not commited ...
Daniel
2001-05-19 16:06:21 +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
cc3c35fd73 - libxslt/transform.c libxslt/xsltutils.c: fixed the default
detection method to generate HTML documents
- tests/REC/test-2.5-1.out tests/REC/test-8-1.out
  tests/REC/test-9.1-2.out tests/REC2/html.xml tests/XSLTMark/game.out
  tests/XSLTMark/html.out tests/XSLTMark/products.out
  tests/XSLTMark/xslbench1.out tests/XSLTMark/xslbench2.out
  tests/XSLTMark/xslbench3.out tests/general/bug-15-.out
  tests/general/bug-5-.out: updated a number of tests output
  accordingly
Daniel
2001-05-12 10:46:15 +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
ced20f0178 - configure.in tests/XSLTMark/Makefile.am: try to handle gracefully
the cases where perl is not in the path (nor in /usr/bin)
- tests/docbook/result/html/gdp-handbook.html
  tests/docbook/result/html/kwrite.html
  tests/docbook/test/gdp-handbook.xml
  tests/docbook/test/kwrite.xml: commited a few more DocBook tests
Daniel
2001-05-11 14:23:17 +00:00
Daniel Veillard
627147d2e0 - libxslt/xsltproc.c: added --nonet and --warnnet to catch
cases where a network access is needed to load a DTD or entity
- tests/docbook/Makefile.am: added --nonet
- tests/docbook/test/classsynop.xml tests/docbook/test/docbook40.xml:
  fixed 2 tests as a result
Daniel
2001-05-09 10:32:15 +00:00
Daniel Veillard
7f46881659 - configure.in tests/docbook/Makefile.am tests/docbook/**/Makefile.am:
try to remove the unneeded docbook Makefile stuff
Daniel
2001-05-09 08:45:59 +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
Bjorn Reese
fedf1f4914 Another fix for the CDATA output 2001-05-05 17:02:29 +00:00
Bjorn Reese
112f5f9543 format-number alignment to Java implementation
Do not remove CDATA from stylesheet
2001-05-05 15:13:16 +00:00
Bjorn Reese
853b992eb1 Alignment to Java implementation 2001-05-05 15:12:20 +00:00
Daniel Veillard
2cefd348e0 oh my god, most of the HTML output were fucked an I never
noticed !
- tests/docbook/result/html/* tests/general/bug-11-.out
  tests/multiple/result.xml tests/XSLTMark/*.out
  libxslt/transform.c: all the PUBLIC and SYSTEM IDs
  were swapped
Daniel
2001-05-04 18:14:17 +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
0414c3c55a Fixed all the tests makefiles to actaully references the tests
files from $(srcdir) and use echo > .memdump instead of the less
portable touch .memdump Daniel
2001-05-03 17:44:25 +00:00
Daniel Veillard
b41da1738f - xsltutils.[ch] transform.c: implemented multiple levels of
sorting
- test/REC/test-10-2.*: added a really small test for it
Daniel
2001-05-03 16:01:22 +00:00
Daniel Veillard
3b126325ee Fixed a couple of reported packaging bugs:
- tests/multiple/makefile.am: fixing #54015
- tests/XSLTMark/makefile.am tests/docbook/makefile.am: fixing #54014
  and a similar problem for the docbook tests
Daniel
2001-05-02 09:15:02 +00:00
Daniel Veillard
50f6648ff3 - tests/general/bug-8-.out: fixed in libxml xpath
- libxslt/templates.[ch] libxslt/pattern.c: fixed an namespace
  problem in predicates within a pattern. Spotted another
  potential namespace problem
Daniel
2001-04-30 20:34:11 +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
d4d6100b91 - libxslt/preproc.c libxslt/variables.c: found the source of a
memory leak with DocBook introduced this w.e.. bit of cleanup.
- tests/docbook/result/html/*.html : regenerated the DocBook tests
  results.
Daniel
2001-04-30 11:49:35 +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
Bjorn Reese
6ab048ca63 Fixed default formatting 2001-04-28 14:25:30 +00:00
Daniel Veillard
011bdcdc01 - libxslt/transform.c: Tony Gorski found a bug pointed by
a compiler on Tandem
- tests/documents/result.xhtml: this results in a small
  change in the output of this test
Daniel
2001-04-26 19:15:38 +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
3d65ba4ae6 - tests/general/bug-5-.out tests/multiple/out/*.orig
tests/xmlspec/REC-xml-20001006*.html: fixed the test output
  following the libxml changes
Daniel
2001-04-18 13:26:25 +00:00
Daniel Veillard
42e81556a0 - libxslt/functions.c: applied TOM's patch to key()
- tests/XSLTMark/chart.out tests/XSLTMark/dbonerow.out
  tests/XSLTMark/prettyprint.out tests/multiple/out/*.html:
  small HTML output change
Daniel
2001-04-18 10:27:05 +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
c17245fdb0 - libxslt/xslt.c: applied William M. Brack patch fixing the
template lack of support for priority
- test/XSLTMark/*.out : this fixed anumber of problems in the
  XSLTMark output
Daniel
2001-04-12 12:47:52 +00:00
Daniel Veillard
7cef41d0ea - libxslt/functions.c: removed warning in unparsed-entity-uri()
fixed a bug in generate-id()
- libxslt/transform.c: fixed null list result errors
- libxslt/transform.c libxslt/xsltutils.c: applied William M. Brack
  fixes for sorting semantic
Daniel
2001-04-12 12:33:23 +00:00
Daniel Veillard
23da0b2940 - config.h.in configure.in libxslt/xsltconfig.h.in: added
ansidecl.h test
- libxslt/xsltproc.c : added --xinclude option
- tests/XSLTMark/union.out : fixed the output
Daniel
2001-04-11 12:30:25 +00:00
Daniel Veillard
df1a13486b - configure.in: released 0.7.0
- tests/XSLTMark/Makefile.am: trying to solve some make distcheck
  problems
Daniel
2001-04-10 10:11:06 +00:00
Daniel Veillard
42099361e9 Updated the new result of the brutal test, daniel 2001-04-03 18:23:53 +00:00
Daniel Veillard
fb0a57cf03 Jumbo patch, extended regression tests and fixed regression results:
- configure.in tests/Makefile.am tests/XSLTMark/* tests/multiple:
  added the XSLTMark in the regression tests as well as multiple
  output test from Ankh
- libxslt/functions.c libxslt/keys.c libxslt/transform.c
  libxslt/variables.c libxslt/xsltutils.c: applied William M. Brack
  patches and fixed a memory leak
- tests/docbook/result/html/*.html : updated the results after
  William's patch
- tests/xmlspec/REC-xml-20001006-review.html
  tests/xmlspec/REC-xml-20001006.html: libxml now don't invent
  an HTML doctype when serializing HTML result, but adds the
  encoding in ALT
Daniel
2001-04-02 15:13:28 +00:00
Daniel Veillard
039f7e40c3 Applied small but significant fix:
- libxslt/transform.c: applied fix to xsltApplyTemplates from
  William M. Brack
- test/docbook/result/html/*.html: this change the output
- tests/xmlspec/REC-xml-20001006-review.html
  tests/xmlspec/REC-xml-20001006.html: this also fixed some of
  the reference anchors generated for the XML spec
Daniel
2001-03-29 08:28:31 +00:00
Daniel Veillard
30adf85c57 - libxslt/attributes.c libxslt/extra.c libxslt/keys.c libxslt/numbers.c
libxslt/templates.c libxslt/transform.c libxslt/xsltconfig.h.in
  libxslt/xsltutils.c: of course the way I defined
  UNUSED breaks on old gcc version. Try to be smart and
  also define it directly in xsltconfig.h
- tests/xmlspec/Makefile.am: fixed the timing arg test
Daniel
2001-03-26 17:00:23 +00:00
Daniel Veillard
07ae864175 Implementation of stylesheet parameter passing:
- libxslt/transform.[ch] libxslt/variables.[ch] libxslt/xsltproc.c:
  implemented command line parameter passing
- tests/xmlspec/Makefile.am tests/xmlspec/REC-xml-20001006-review.html:
  tested it by passing show.diff.markup=1 to build the review version too
Daniel
2001-03-25 20:10:09 +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