summaryrefslogtreecommitdiff
path: root/tests/exslt
AgeCommit message (Collapse)AuthorFilesLines
2017-12-04Imported Upstream version 1.1.32upstream/1.1.32DongHun Kwak10-20/+0
Change-Id: I03b39e92b2b7898e9a34a1e240722003e7d51cd8 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2017-10-17Imported Upstream version 1.1.31_rc1upstream/1.1.31_rc1DongHun Kwak10-60/+30
Change-Id: I18a4b3672d7e46c1ead10d746dbdddcc30f298b7 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2017-10-17Imported Upstream version 1.1.30_rc1upstream/1.1.30_rc1DongHun Kwak35-83/+151
Change-Id: Ie087e3508369ac612459f31961addc691f2302c1 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2016-06-22Imported Upstream version 1.1.29upstream/1.1.29DongHun Kwak53-16/+6138
Change-Id: I7d894ba27f8f8e886dbcece3bb3df8e69059cae9 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2012-09-07Cleanups some of the test makefilesDaniel Richard7-7/+7
* Added missing $(srcdir)/ qualification to some "[ -s ... ]" stderr-output reference file checks * When printing log output for failed tests, quote the log variable, so that diff output is formatted the way it should be (with newlines!) and is not all collapsed into one line * Updated tests/REC/test-7.1.1-3.out with current output to get rid of a spurious test failure
2012-09-04EXSLT date normalization fixJames Muscat2-0/+25
https://bugzilla.gnome.org/show_bug.cgi?id=626855 Dates with timezones but no time components are not normalized correctly Using xsltproc v1.1.26: $ xsltproc --version Using libxml 20706, libxslt 10126 and libexslt 815 xsltproc was compiled against libxml 20704, libxslt 10126 and libexslt 815 libxslt 10126 was compiled against libxml 20704 libexslt 815 was compiled against libxml 20704 Dates that have timezone offsets specified but no time components, for example "1970-01-01+01:00", are not normalized correctly; the timezone part is truncated: date:seconds("1970-01-01") = 0 date:seconds("1970-01-01+01:00") = 0 (not -3600 as expected) Alters the conditions under which exsltDateNormalize() returns without normalizing, and adds test cases demonstrating the new behaviour.
2012-09-04Rewrite EXSLT string:replace to be conformantNick Wellnhofer3-1/+28
For https://bugzilla.gnome.org/show_bug.cgi?id=569703 The libexslt implementation of str:replace fails to conform to its specification on several counts: a) the current version returns a string; it's supposed to return a nodeset. b) the current version treats the replacements as strings; it's supposed to treat them as nodes. c) the current version can modify replacement text; it's supposed to only modify text from the original string. d) the current version ignores the requirement to perform substitutions in descending order of search string length. Steps to reproduce: a) the returning of a string rather than a nodeset can be seen by simply inspecting the code. b) the code explicity converts replacement nodes to strings; this can be seen by inspection. d) the failure to perform substitutions in descending order of search string length can be seen in the lack of any sorting in the source code. c) the problem of modifying text not belonging to the original string can be seen in the following stylesheet, which can be simply applied to itself to produce output. <xsl:stylesheet version="1.0" extension-element-prefixes="str exsl" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:str="http://exslt.org/strings" > <xsl:variable name="Text"> Price is $1.10 </xsl:variable> <xsl:template match="/"> <xsl:apply-templates select="exsl:node-set($Text)/text()"/> </xsl:template> <xsl:template match="text()"> <xsl:variable name="Replace"> <FromXml> <from>$</from> <from>\</from> </FromXml> <ToTex> <to>\$</to> <to>$\backslash$</to> </ToTex> </xsl:variable> <xsl:value-of select="str:replace(.,exsl:node-set($Replace)/FromXml/from,exsl:node-set($Replace)/ToTex/to)"/> </xsl:template> </xsl:stylesheet> Actual results: The output is: <?xml version="1.0"?> Price is $\backslash$$1.10 Expected results: The output should be: <?xml version="1.0"?> Price is \$1.10 Does this happen every time? yes. Other information: str:replace specification is at: http://www.exslt.org/str/functions/replace/str.replace.html
2012-09-04Remove .cvsignore files which are not needed anymoreDaniel Veillard8-22/+0
2012-08-09Various "make distcheck" and other fixesDaniel Richard G8-9/+7
Makefile.am: * Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed variables in Makefile.am files * Touch these *.xml/*.syms files in the "dist-hook" target to prevent them from being regenerated, because the "make dist" process in itself updates the timestamps of the source files when it copies them into $(distdir) * Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required dependency when client applications link against -lxslt (note that the definition of EXTRA_LIBS has been changed; see below) * Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU Make programs autogen.sh: * Add --warnings=all options to automake and autoconf invocations, to better catch potential problems (most of which I've fixed in this patch) configure.in: * Replaced obsolete macros with their current equivalents; for reference, see http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html (I removed AC_ISC_POSIX outright because the doc states it is no longer useful) * test(1) uses "=" as an operator, not "==" * Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors * Don't add redundant libraries to EXTRA_LIBS, because (1) this variable already contains LibXSLT's own additional system-library deps, and is useful in that form, and (2) the LibXML2 deps are already handled by Libtool * Don't delete files in srcdir, and don't create the symlink to "Copyright" there either (I don't understand why this is being symlinked in the first place...) doc/Makefile.am: * Can't use wildcards in EXTRA_DIST, because this breaks dependencies (e.g. you can't "make EXSLT/\*.html"), and they only work properly when building inside the source tree; these have been replaced with their expansions. Other entries have been added here in lieu of the wildcards in the dist-hook target, as well as opportunistic use of the $(*PAGES) variables. * Don't define an "all" target, because this steps on Automake's toes; use "all-local" instead * Define and use an "xsltproc" variable to reference an in-tree-built version of xsltproc, instead of e.g. $(bindir)/xsltproc NOTE: The makefile also uses $(XSLTPROC), which names an external instance of the program found at configure time. Some instances of this could probably be changed to $(xsltproc) to remove the dependency on an existing installed program. * Qualified various filenames as appropriate with $(srcdir) * Use $(XMLLINT) consistently instead of $(bindir)/xmllint * In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking apibuild.py as this script has to run in srcdir anyway * In the "clean-local" rule, clear out some additional files to allow "make distcheck" to pass * Eliminated the redundant "maintainer-clean-local" rule * Added a "distclean-local" rule to clear out the build directory in an out-of-source build to allow "make distcheck" to pass * Added a "check-extra-dist" target to make it easier to check that EXTRA_DIST isn't missing anything * Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete * Use $(VAR) instead of @VAR@ * The "dist-hook" target didn't work (if any generated files were in builddir and not in srcdir), and is no longer needed thanks to the comprehensive EXTRA_DIST variable * Added an "uninstall-local" rule to allow "make distcheck" to pass * Updated the .PHONY target list, removed non-existent targets doc/symbols.xml: * Needed to add this bit to make the generation scripts shut up libexslt/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS (Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake already references both in the build rules) * Use $(VAR) instead of @VAR@ libxslt.pc.in: * Add EXTRA_LIBS (-lrt on my system), as this is a required dependency when client applications link against -lxslt libxslt/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS * Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs) * Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete libxslt/xsltutils.c: * Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about CLOCK_HIGHRES. Some systems, alas, have no usable alternative to CLOCK_REALTIME. python/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS * Because libxslt-py.c is (presumably) supposed to be generated every time at build time, don't bundle it in the dist tarball * Use $(VAR) instead of @VAR@ * libxsltclass.py is a generated file, so it doesn't get qualified with $(srcdir) * Use $(MKDIR_P) instead of (mkinstalldirs) * Added an uninstall-local rule so that "make distcheck" passes * Removed the $(srcdir) qualifications in the GENERATED file list, as these files may exist in builddir * In the gen_prog rule, qualify the script invocation with $(srcdir), and set the SRCDIR environment variable so that the script can find the files it needs when builddir != srcdir * Don't define an "all" target, as this steps on Automake's toes python/generator.py: * Get the source directory from the SRCDIR environment variable, and use it appropriately python/tests/Makefile.am: * Set CLEANFILES instead of defining a "clean" rule * Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs) tests/*/Makefile.am, tests/exslt/*/Makefile.am: * Need to clean up .memdump files for "make distcheck" to pass * Don't define an "all" target, as this steps on Automake's toes tests/REC/Makefile.am: * Added two missing *.stand.out files to EXTRA_DIST tests/XSLTMark/Makefile.am: * Replaced the GNU-Make-specific %.out bit with a more broadly compatible rule (the "dummy" bit shuts up Automake) * Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc" * Use a less $(MAKE)-heavy invocation in the "tests" target * Replaced a conflicting "clean" target with CLEANFILES * Added a dependency on $(xsltproc) to all the test targets * Added a .PHONY target list tests/docbook/Makefile.am: * Ditched the "echo -n" bit, because it wasn't working as advertised * Create output directories for out-of-source builds * "$(basename $$i)" is a typo in a makefile * Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can refer to these files in builddir or srcdir * Add a trailing "echo" to complete the "echo -n" * Don't output files unconditionally to srcdir (it may be read-only, for starters) tests/plugins/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name (Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here can be dropped entirely, because these already appear in xmlsoft_org_xslt_testplugin_la_CFLAGS) * Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin if module support is disabled) * Need to clean up *.res files for "make distcheck" to pass * Use the abs_builddir variable conveniently provided to us by Automake instead of a GNU Make $(shell ...) construct xslt-config.in: * Add EXTRA_LIBS (-lrt on my system), as this is a required dependency when client applications link against -lxslt xsltproc/Makefile.am: * AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an obsolete name * Moved $(LIBXML_CFLAGS) into AM_CFLAGS * Use $(VAR) instead of @VAR@ * Need to clean .memdump for "make distcheck" to pass * Added rules to build lib[e]xslt.la if needed, which allows test makefiles to build xsltproc on the fly even if nothing else has been built already * Create .memdump file in the "tests" target, as it's being grepped afterward
2008-06-25added code to handle literal within an AVT #539741. tests/docs/Makefile.amWilliam M. Brack1-0/+0
* libxslt/attrvt.c: added code to handle literal within an AVT #539741. * tests/docs/Makefile.am tests/docs/bug-168.xsl * tests/general/Makefile.am tests/general/bug-168.* add a test for this bug to the regression suite. svn path=/trunk/; revision=1480
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-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-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-05-10Quiet CVS a bitKjartan Maraas1-0/+3
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.
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-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
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-09-30fixed problem with negative periods (bug 154021) changed expected output,William M. Brack1-2/+2
* libexslt/date.c: fixed problem with negative periods (bug 154021) * tests/exslt/date/sum.2.out: changed expected output, now agrees with comments in sum.2.xml test data file
2004-09-24Fixed the output, DanielDaniel Veillard2-22/+21
2004-09-24add missing variable fixed some error callback data added new date:sumDaniel Veillard8-0/+203
* Makefile.am: add missing variable * libxslt/transform.c: fixed some error callback data * tests/exslt/date/Makefile.am tests/exslt/date/sum*: added new date:sum testing from Derek Poon Daniel
2004-09-19fixed problem with timezone offset (bug 153000) changed regression testWilliam M. Brack1-1/+1
* libexslt/date.c: fixed problem with timezone offset (bug 153000) * tests/exslt/date/add.1.out: changed regression test output, which was apparently incorrect for above case * libxslt/transform.c: re-arranged sequence of setting up namespaces within xsltCopyTree (see the list thread http://mail.gnome.org/archives/xml/2004-September/msg00072.html) * tests/general/bug-104.out: slight change to expected output due to above fix
2004-09-18enhanced validation of date-time to catch bit-field overflow (bug 152836)William M. Brack4-0/+95
* libexslt/date.c: enhanced validation of date-time to catch bit-field overflow (bug 152836) * tests/exslt/date/date.2.*, tests/exslt/time.2.*: added test cases for above
2004-08-22Further enhancement for keys on exslt:node-sets. Corrects a rather seriousWilliam M. Brack4-0/+35
* transform.c: Further enhancement for keys on exslt:node-sets. Corrects a rather serious timing problem (bug 150741) * tests/exslt/common/node-set.8.*: added regression test for this
2004-08-02added code to assure keys are generated when needed for node-sets (bugWilliam M. Brack4-0/+32
* libxslt/documents.c, libxslt/functions.c, libxslt/transform.c, libxslt/variables.c: added code to assure keys are generated when needed for node-sets (bug 148773) * tests/exslt/common/node-set.7.* - added test case for above.
2004-07-13added some logic to xsltKeyFunction to set the transform context doc ptrWilliam M. Brack7-0/+2203
* libxslt/functions.c: added some logic to xsltKeyFunction to set the transform context doc ptr when the xpath context doc is different (bug 147445) * tests/exslt/common/Makefile.am, tests/exslt/common/node-set.5* and tests/exslt/common/node-set.6*: added regression tests for bug 145547 (UNION and FILTER for RVT's)
2004-03-06continued interrupt commit for enhanced "make tests"William M. Brack6-45/+160
2004-01-14added test case for math functions on nodesets generated by exslt:node-setWilliam M. Brack3-0/+93
* tests/exslt/math/max.3.xsl, tests/exslt/math/max.3.xml, tests/exslt/math/max.3.out, tests/exslt/math/Makefile.am: added test case for math functions on nodesets generated by exslt:node-set
2004-01-14fixed problem, reported on the list by Markus Bayerlein, concerning mathWilliam M. Brack1-0/+1
* libexslt/math.c, libexslt/common.c: fixed problem, reported on the list by Markus Bayerlein, concerning math functions on nodesets generated with exslt:node-set * tests/exslt/math/max.3.xsl, tests/exslt/math/max.3.xml, tests/exslt/math/max.3.out, tests/exslt/math/Makefile.am: added test case for above.
2004-01-12changed to assure comment which preceeds root node is output after DTDWilliam M. Brack4-0/+77
* libxslt/transform.c: changed to assure comment which preceeds root node is output after DTD (Bug 130433) * test/exslt/common/node-set.4.*: added test case for Bug 130922
2003-11-12applied patch for param visibility from Shaun McCance. Changed variableWilliam M. Brack4-1/+91
* libexslt/functions.c: applied patch for param visibility from Shaun McCance. Changed variable scoping in accordance with Shaun's suggestions. This fixed problem reported on the list by Bernd Lang * tests/exslt/functions/function.8.[xml,xsl,out], Makefile.am: regression test for above
2003-11-01fix bug #125265 about entities breaking exsl:tokenize and exsl:splitDaniel Veillard4-3/+27
* libexslt/strings.c: fix bug #125265 about entities breaking exsl:tokenize and exsl:split * tests/exslt/strings/split.1.* tests/exslt/strings/tokenize.1.*: augmented the reression tests with the example from the bug report. Daniel
2003-07-29changed sign of date:seconds as previously posted to the mailing listWilliam M. Brack1-8/+8
* libexslt/date.c test/exslt/data/seconds.1 : changed sign of date:seconds as previously posted to the mailing list * numbers.c: extensive modification to cater for UTF8 within the various routines.
2003-07-24applied patch from Shaun McCance to fix bug #117616 about EXSTDaniel Veillard4-0/+71
* libexslt/strings.c: applied patch from Shaun McCance to fix bug #117616 about EXST str:tokenize. * tests/exslt/strings/Makefile.am tests/exslt/strings/tokenize.3.*: added the test in the regression suite. Daniel
2003-07-18applied patch from Shaun McCance to implement exslt:split c.f. #117752Daniel Veillard4-1/+39
* libexslt/strings.c: applied patch from Shaun McCance to implement exslt:split c.f. #117752 * tests/exslt/strings/Makefile.am tests/exslt/strings/split.1.*: added the test to the regression suite. Daniel
2003-07-14fixed bug 113520William M. Brack1-2/+2
2003-07-10simple cast missing Peter Breitenlohner added deps to libxslt integratedDaniel Veillard1-1/+3
* libxslt/transform.c: simple cast missing Peter Breitenlohner * breakpoint/Makefile.am: added deps to libxslt * tests/exslt/common/Makefile.am: integrated William Brack test in the regression suite Daniel
2003-04-30cleaning up Result Value Tree handling fixed a pair of implementations.Daniel Veillard4-1/+18
* libxslt/transform.c libxslt/variables.c libxslt/xsltInternals.h: cleaning up Result Value Tree handling * libexslt/functions.c libexslt/strings.c: fixed a pair of implementations. * tests/exslt/strings/Makefile.am tests/exslt/strings/tokenize.2.*: added Mark Vakoc test combining for-each and exslt:tokenize Daniel
2003-04-29Typo fixup, DanielDaniel Veillard1-1/+1
2003-04-21applied patch from Charles Bozeman fixing the math power function whereDaniel Veillard4-0/+36
* libexslt/math.c: applied patch from Charles Bozeman fixing the math power function where args were inverted #110996 * tests/exslt/math/Makefile.am tests/exslt/math/power.1.*: added the test to the regraession for #110996 * libexslt/sets.c: avoid a problem with nodesets. Daniel
2003-03-24Finally fixed bug #75813, processing or Result Value Tree converted intoDaniel Veillard1-1/+1
* 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-02-04change of policy w.r.t. mails small cleanup fixed a couple of bugs raisedDaniel Veillard6-6/+6
* README: change of policy w.r.t. mails * configure.in: small cleanup * libxslt/transform.c libxslt/xslt.c libxslt/variables.c: fixed a couple of bugs raised by Eric van der Vlist in #104114 * tests/exslt/*/*.out: slight change to the tests Daniel
2002-12-28add missing .cvsignore entriesJose Maria Celorio2-2/+4
2002-10-15closing #94933, any error will make the transformation abort with noDaniel Veillard2-19/+31
* libxslt/transform.c: closing #94933, any error will make the transformation abort with no result. * tests/reports/tst-1.err tests/reports/tst-1.out tests/reports/undefvar.err: this changed the regression tests output. * tests/exslt/date/difference.1.out tests/exslt/date/seconds.1.out: updated the result accordingly to the fixes done last month. * libxslt/namespaces.c: make sure to avoid duplicate namespace declarations in the result trees. May fix #93692 but it's unclear. Daniel