summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2008-05-13fix the processing of top level elements of stylesheets which are not inDaniel Veillard5-0/+24
* libxslt/xslt.c libxslt/extensions.c libxslt/extensions.h: fix the processing of top level elements of stylesheets which are not in the XSLT namespace and are not an extension either should fix #529223 * tests/docs/Makefile.am tests/docs/bug-167.xml tests/general/Makefile.am tests/general/bug-167.*: add the test to the regression suite Daniel svn path=/trunk/; revision=1472
2008-05-09fix the key initialization problem introduced when tracking Josef UrbanDaniel Veillard5-0/+30644
* libxslt/documents.c libxslt/keys.c libxslt/xsltInternals.h libxslt/transform.c libxslt/pattern.c: fix the key initialization problem introduced when tracking Josef Urban problem from 22 Dec 2007, this should also handle the problem of recursive keys definitions should fix #531873. * tests/docs/bug-166.xml tests/docs/Makefile.am tests/general/Makefile.am tests/general/bug-166.xsl tests/general/bug-166.out: add the regression tests when a key computation depends on another one. Daniel svn path=/trunk/; revision=1471
2008-02-15*libxslt/extensions.c: fixed minor error bug #516483William M. Brack4-83/+0
*tests/exslt/common - deleted node-set.9 regression test, because it relied upon an external web import. svn path=/trunk/; revision=1456
2007-10-10applied patch from Maurice van der Pot to fix EXSLT week-in-year extensonDaniel Veillard3-17/+112
* libexslt/date.c tests/exslt/date/datetime.1.out tests/exslt/date/date.1.out tests/exslt/date/date.1.xml: applied patch from Maurice van der Pot to fix EXSLT week-in-year extenson which was not conforming to the definition. This also changes the output of the tests a bit. Should fix #452876 Daniel svn path=/trunk/; revision=1446
2007-08-23added regression test for bug #469410William M. Brack6-0/+33
* tests/general/bug-165.[xsl,out,err], tests/docs/bug-165.xml, tests/general/Makefile.am, tests/docs/Makefile.am: added regression test for bug #469410 svn path=/trunk/; revision=1439
2007-06-13added test case for bug #413451William M. Brack4-0/+83
* tests/exslt/common/node-set.9.[xml,xsl,out], tests/exslt/common/Makefile.am: added test case for bug #413451 svn path=/trunk/; revision=1432
2007-03-27apply patch fron Shaun McCance to hook xsl:message construct to the newDaniel Veillard1-1/+1
* libxslt/xsltutils.c: apply patch fron Shaun McCance to hook xsl:message construct to the new per-xsltTransformCtxt error callback if set up. * Makefile.am: do not package svn files in releases Daniel svn path=/trunk/; revision=1424
2007-01-12fixed problem with DV/WMB testing env. regenerated docs;William M. Brack1-0/+3
* configure.in: fixed problem with DV/WMB testing env. * regenerated docs; doc/APIchunk1[012].html added to SVN * libxslt/extensions.c: fixed problem with plugin loading; removed testplugin.c from SVN (current version kept as tests/plugin/testplugin.c) svn path=/trunk/; revision=1415
2007-01-11added new function replace from Joel Reed. added new test case for above.William M. Brack4-1/+72
* libexslt/strings.c: added new function replace from Joel Reed. * tests/exslt/Makefile.am, replace.1.xml, replace.1.xsl, replace.1.out: added new test case for above. * libxslt.spec.in: trivial change from Gnome to GNOME * configure.in: trivial change for flags on my compilations * libxslt/documents.c, libxslt/documents.h, libxslt/keys.c, libxslt/keys.h, libxslt/variables.c, libxslt/templates.c, libxslt/transform.c, libxslt/variables.c, libxslt/xslt.c, libxslt/xsltutils.c: fixed some documentation/comments and compilation warnings - no change to logic. * re-generated the documentation. svn path=/trunk/; revision=1413
2006-12-12removed message outputWilliam M. Brack1-1/+0
2006-12-11removed testfile added in errorWilliam M. Brack1-5/+0
2006-12-11further enhancement to the original fix for bug #381319 (which was notWilliam M. Brack6-2/+43
* libexslt/functions.c: further enhancement to the original fix for bug #381319 (which was not correct). * tests/exslt/functions: minor enhancement to function.9.xsl; function.10.[xsl,xml,out] added to regression tests to check recursive calls.
2006-12-09changed handling of function params to fix bug #381319 exposedWilliam M. Brack4-1/+39
* libexslt/functions.c: changed handling of function params to fix bug #381319 * libxslt/transform.[ch]: exposed xsltLocalVariablePush and xsltLocalVariablePop as global entries so that they could be used from within libexslt/functions.c * tests/exslt/functions/function.9.[xsl,xml,out] added to regression tests
2006-11-17fixed problem with entity handling within xsltCopyAttrListNoOverwriteWilliam M. Brack5-0/+23
* libxslt/transform.c: fixed problem with entity handling within xsltCopyAttrListNoOverwrite (#352907) * tests/general/bug-164.xsl, tests/general/bug-164.out, tests/docs/bug-164.oxml: added a regression test for this
2006-07-17; tests/general/bug-41-.xsl and tests/general/bug-43.xsl : call-templateWilliam M. Brack6-17/+19
* Updated tests affected by recent library changes - tests/general/bug-1-.out, tests/general/bug-24-.out, tests/keys/month.out : (<t></t> now becomes <t/>); tests/general/bug-41-.xsl and tests/general/bug-43.xsl : call-template and apply-template, where the template has no parameter but one is supplied (var should not be affected) tests/general/bug-145.err : changed error text
2006-06-21Fixed incorrect regression tests/results.Kasimier T. Buchcik8-26/+8
* tests/docs/bug-54.xml tests/general/bug-54.out tests/general/bug-99.out tests/general/bug-136.out tests/REC/test-7.1.3.xsl tests/REC/test-7.1.4.xsl tests/REC/test-7.3.xsl tests/REC/test-7.4.xsl: Fixed incorrect regression tests/results.
2006-05-10Quiet CVS a bitKjartan Maraas3-0/+9
2006-05-05Reverting the changes; I'll rather change the processing stylesheetKasimier T. Buchcik3-28/+1
* tests/exslt/common/node-set.5.out tests/exslt/sets/difference.1.out tests/exslt/functions/function.6.out: Reverting the changes; I'll rather change the processing stylesheet documents in a way that they will produce the same results for broken and stricter whitespace-stripping.
2006-05-04Changed regression test results (bug #340684). Those will now produceKasimier T. Buchcik3-1/+28
* tests/exslt/common/node-set.5.out tests/exslt/sets/difference.1.out tests/exslt/functions/function.6.out: Changed regression test results (bug #340684). Those will now produce regression errors; so we need to fix the processor.
2006-03-30Fixed regression tests wrt usage of the attributesKasimier T. Buchcik9-10/+10
* tests/general/bug-36-inc.xsl tests/general/bug-37-inc.xsl tests/general/bug-65-inc.xsl tests/general/bug-100.xsl tests/REC/test-15-1.xsl tests/REC/test-7.1.1-3.xsl tests/namespaces/extra2.xsl tests/extensions/module.xsl tests/plugins/plugin.xsl python/tests/extelem.py python/tests/extfunc.py: Fixed regression tests wrt usage of the attributes "exclude-result-prefixes" and "extension-element-prefixes". test-7.1.1-3.xsl fails now, since the code still does not exclude ns-decls correctly.
2006-02-11fix xsltSaveResultToString comment detect loops when computing variables,Daniel Veillard2-2/+4
* libxslt/xsltutils.c: fix xsltSaveResultToString comment * libxslt/transform.c: detect loops when computing variables, should fix bug #330772 * doc/xsltproc.xml doc/xsltproc.1: fix typo in man page * tests/namespaces/tst7.out tests/general/bug-152.out: small output changes due to libxml2 xhtml meta handling modification Daniel
2005-10-04applied fix to date:week-in-year posted to the mailing list by ThomasWilliam M. Brack2-4/+4
* libexslt/date.c: applied fix to date:week-in-year posted to the mailing list by Thomas Broyer * tests/exslt/date/date.1.out, tests/exslt/date/datetime.1.out: updated to reflect above fix
2005-10-02applied patch from Joel Reed to ease plugin integration DanielDaniel Veillard1-11/+10
* configure.in libxslt/Makefile.am libxslt/xsltconfig.h.in libxslt.spec.in tests/plugins/Makefile.am xslt-config.in: applied patch from Joel Reed to ease plugin integration Daniel
2005-09-04fixed #303289 variable in match are forbidden had to fix that test whichDaniel Veillard4-9/+7
* libxslt/pattern.c: fixed #303289 variable in match are forbidden * tests/general/bug-89.xsl: had to fix that test which was doing this * tests/general/bug-142.out tests/general/bug-152.out tests/namespaces/tst7.out: small output change on libxml2-2.6.21 new way of serializing encoding meta in HTML Daniel
2005-08-12check fix for #310692 DanielDaniel Veillard5-0/+15
* tests/general/bug-163.*, tests/general/Makefile.am, tests/docs/bug-163.*, tests/docs/Makefile.am: check fix for #310692 Daniel
2005-08-09try to get rid of complaints from jhbuild newbies. DanielDaniel Veillard1-1/+1
* tests/plugins/Makefile.am: try to get rid of complaints from jhbuild newbies. Daniel
2005-07-10try to avoid generating conflicts applied patch from Mark Vakoc toDaniel Veillard5-1/+141
* libxslt/xsltwin32config.h*: try to avoid generating conflicts * libexslt/dynamic.c: applied patch from Mark Vakoc to implement dyn:map * configure.in tests/exslt/Makefile.am tests/exslt/dynamic/*: added test for dyn:map to the regression suite Daniel
2005-03-31updated the result of some tests following the change to serailization inDaniel Veillard3-132/+132
* tests/docbook/result/fo/gdp-handbook.fo tests/general/bug-105.out tests/general/bug-142.out: updated the result of some tests following the change to serailization in libxml2. Daniel
2005-03-31fixed bug #171488 with cascading select in patterns. added test providedDaniel Veillard5-0/+31
* libxslt/pattern.c: fixed bug #171488 with cascading select in patterns. * tests/general/bug-161.*, tests/general/Makefile.am, tests/docs/bug-161.*, tests/docs/Makefile.am: added test provided by Ben Ko Daniel
2005-03-30fixed build outside of source tree bug #172155 thanks to patch from MikeDaniel Veillard1-0/+2
* tests/plugins/Makefile.am: fixed build outside of source tree bug #172155 thanks to patch from Mike Castle Daniel
2005-03-30fixed the xinclude problem with document() as in bug #171893 added a newDaniel Veillard8-1/+72
* xsltproc/xsltproc.c: fixed the xinclude problem with document() as in bug #171893 * configure.in tests/Makefile.am tests/xinclude/*: added a new xinclude directory with the test for this problem Daniel
2005-03-30fixed bug 169718 with ancestors in patterns similar to same bug fixed inDaniel Veillard5-0/+31
* libxslt/pattern.c: fixed bug 169718 with ancestors in patterns similar to same bug fixed in libxml2 * tests/general/bug-160.*, tests/general/Makefile.am, tests/docs/bug-160.*, tests/docs/Makefile.am: added test provided by Aaron Kaplan Daniel
2005-03-29added test for bug #168196 fixed in libxml2 DanielDaniel Veillard5-0/+28
* tests/general/bug-159.*, tests/general/Makefile.am, tests/docs/bug-159.*, tests/docs/Makefile.am: added test for bug #168196 fixed in libxml2 Daniel
2005-03-29working around Mark Vakoc' reported bug related to mode internaing addingDaniel Veillard2-0/+94
* libxslt/transform.c: working around Mark Vakoc' reported bug related to mode internaing * xsltproc/xsltproc.c: adding a --nodict mode to check problems with document without a dictionnary. * tests/REC/Makefile.am tests/general/Makefile.am: testing without dictionnary Daniel
2005-03-29added DTD like checking when compiling stylesheets, closes bug #160402 andDaniel Veillard1-1/+4
* libxslt/preproc.c libxslt/xslt.c libxslt/xsltInternals.h: added DTD like checking when compiling stylesheets, closes bug #160402 and a long term TODO * tests/general/bug-89.xsl: thos spotted a misconstruct of one of the test cases where <xsl:when> was not within <xsl:choose> Daniel
2005-03-13preparing 1.1.13, updated and rebuilt the docs. trying to fix some buildDaniel Veillard1-2/+3
* NEWS configure.in doc/*: preparing 1.1.13, updated and rebuilt the docs. * tests/plugins/Makefile.am xsltproc/Makefile.am: trying to fix some build problems. * libxslt.spec.in: adding a build require and a require for libgcrypt-devel, c.f. Red Hat bug #133211 * libxslt/xsltInternals.h: as for libxml2, XML_CAST_FPTR was wrong. Daniel
2005-02-09applied patch for make wiki from Joel Reed and rebuild fix from Joel ReedDaniel Veillard1-3/+4
* doc/Makefile.am doc/libxslt-api.xml doc/libxslt-refs.xml doc/EXSLT/libexslt-api.xml: applied patch for make wiki from Joel Reed and rebuild * tests/plugins/Makefile.am: fix from Joel Reed for make dist Daniel
2005-01-30applied plugin patch for Windows by Joel Reed DanielDaniel Veillard1-2/+9
* tests/plugins/testplugin.c win32/Makefile.msvc win32/configure.js: applied plugin patch for Windows by Joel Reed Daniel
2005-01-21Applied patch 11 (with small modification) from JoelWilliam M. Brack1-1/+3
* tests/plugins/Makefile.am: Applied patch 11 (with small modification) from Joel
2005-01-20applied patch 10 from Joel Reed DanielDaniel Veillard2-2/+2
* tests/plugins/Makefile.am tests/plugins/testplugin.c: applied patch 10 from Joel Reed Daniel
2005-01-17applied another patch from Joel Reed still failing here but looking betterDaniel Veillard3-20/+44
* configure.in libxslt/Makefile.am libxslt/xsltwin32config.h tests/Makefile.am tests/plugins/Makefile.am tests/plugins/testplugin.c: applied another patch from Joel Reed still failing here but looking better Daniel
2005-01-15Copying testplugin.c to the right place really, DanielDaniel Veillard1-0/+329
2005-01-15Applied another patch from Joel Reed, fixed a segfault and changed theDaniel Veillard4-0/+29
* tests/plugins/plugin.* tests/Makefile.am libxslt/extensions.c libxslt/Makefile.am configure.in: Applied another patch from Joel Reed, fixed a segfault and changed the configure code a bit to work in my debug environment. Daniel
2004-12-01applied patch from Mark Vakoc fixing bug with namespace URI on templateWilliam M. Brack4-1/+32
* libxslt/xslt.c: applied patch from Mark Vakoc fixing bug with namespace URI on template names. * tests/namespaces/tst9*, tests/namespaces/Makefile.am: added test case for this
2004-11-30more on RVT's in XPath predicates, this time for bug 159726. Cleaned upWilliam M. Brack1-1/+1
* libxslt/pattern.c: more on RVT's in XPath predicates, this time for bug 159726. Cleaned up the logic a little, hopefully now covers all setting of XSLT_RUNTIME_EXTRA. * tests/general/bug-158.xsl: corrected a typo
2004-11-25backed out the last change and re-did it the "right way" (bug 158372).William M. Brack6-0/+30
* libxslt/variables.c, libxslt/xsltInternals.h: backed out the last change and re-did it the "right way" (bug 158372). * tests/general/bug-158.*, tests/general/Makefile.am, tests/docs/bug-158.*, tests/general/Makefile.am: added test case for this bug
2004-11-22small change to previous fix for bug 153137, fixes bug 158840. added testWilliam M. Brack6-0/+42
* libxslt/pattern.c: small change to previous fix for bug 153137, fixes bug 158840. * tests/general/bug-157.*, tests/general/Makefile.am, tests/docs/bug-157.*, tests/docs/Makefile.am: added test for this
2004-11-21enhanced code to assure the "current template rule" is not changed byWilliam M. Brack8-0/+44
* libxslt/transform.c: enhanced code to assure the "current template rule" is not changed by xsl:call-template (bug 157859). * tests/general/bug-156.*, tests/general/Makefile.am, tests/docs/bug-156.*, tests/docs/Makefile.am: added a test case
2004-11-08fixed problem with day-of-week-in-month (bug 157592) with patch from SalWilliam M. Brack1-1/+1
* libexslt/date.c: fixed problem with day-of-week-in-month (bug 157592) with patch from Sal Paradise * tests/exslt/date/datetime.1.out: corrected expected output after above fix
2004-11-01added a test case provided by Markus Bertheau breaking on libxml2-2.6.15Daniel Veillard5-0/+20
* tests/general/bug-155.*, tests/general/Makefile.am, tests/docs/bug-155*, tests/docs/Makefile.am: added a test case provided by Markus Bertheau breaking on libxml2-2.6.15 Daniel