+Tue May 15 14:34:23 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+ * 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
+
Sat May 12 12:39:54 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* libxslt/transform.c libxslt/xsltutils.c: fixed the default
if ((ctxt == NULL) || (doc == NULL))
return;
#ifdef WITH_XSLT_DEBUG_KEYS
- xsltGenericDebug(xsltGenericDebugContext, "Initializing keys on %s\n",
+ if ((doc->doc != NULL) && (doc->doc->URL != NULL))
+ xsltGenericDebug(xsltGenericDebugContext, "Initializing keys on %s\n",
doc->doc->URL);
#endif
style = ctxt->style;
return;
#ifdef WITH_XSLT_DEBUG_PROCESS
- xsltGenericDebug(xsltGenericDebugContext,
- "xsltApplyTemplates: node: %s\n", node->name);
+ if ((node != NULL) && (node->name != NULL))
+ xsltGenericDebug(xsltGenericDebugContext,
+ "xsltApplyTemplates: node: %s\n", node->name);
#endif
/*
echo $$name.xml ; \
$(top_builddir)/libxslt/xsltproc $(srcdir)/$$name.xsl $(srcdir)/$$name.xml > $$name.res;\
if [ ! -f $(srcdir)/$$name.out ] ; then cp $$name.res $(srcdir)/$$name.out ; \
- else diff $(srcdir)/$$name.out $$name.res ; fi ; \
+ else if [ ! -s $$name.res ] ; then echo "Fatal error, no $$name.res\n" ; \
+ else diff $(srcdir)/$$name.out $$name.res ; fi ; fi; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
rm -f $$name.res ; \
done)
bug-25-.xml \
bug-26-.xml \
bug-27-.xml \
+ bug-28-.xml \
character.xml \
items.xml
bug-25-.out bug-25-.xsl \
bug-26-.out bug-26-.xsl \
bug-27-.out bug-27-.xsl \
+ bug-28-.out bug-28-.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
--- /dev/null
+<html></html>
--- /dev/null
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+ <xsl:template match="/">
+ <html></html>
+ </xsl:template>
+
+</xsl:stylesheet>