+Sat Oct 6 12:41:37 CEST 2001 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt/pattern.c: fixed bug #61627
+ * tests/docs/Makefile.am tests/docs/bug-64.xml
+ tests/general/Makefile.am tests/general/bug-64.*: added a
+ specific example in the regression tests
+ * tests/docs/Makefile.am tests/docs/bug-63.xml
+ tests/general/Makefile.am tests/general/bug-63.*: added a
+ specific example in the regression tests for bug #61291
+ (fixed in libxml2 module)
+ * tests/reports/Makefile.am tests/reports/undefvar.*: added
+ a test for handling undefined variables
+
Thu Oct 4 15:49:57 CEST 2001 Daniel Veillard <daniel@veillard.com>
* configure.in xslt-config.in: trying to fix bug #60890
if (xsltTestCompMatch(ctxt, list, node,
ctxt->mode, ctxt->modeURI)) {
ret = list->template;
+ priority = list->priority;
break;
}
list = list->next;
if (xsltTestCompMatch(ctxt, list, node,
ctxt->mode, ctxt->modeURI)) {
ret = list->template;
+ priority = list->priority;
break;
}
list = list->next;
if (xsltTestCompMatch(ctxt, list, node,
ctxt->mode, ctxt->modeURI)) {
ret = list->template;
+ priority = list->priority;
break;
}
list = list->next;
## Process this file with automake to produce Makefile.in
SUBDIRS=docs REC1 REC2 REC general namespaces numbers documents \
- extensions reports xmlspec multiple XSLTMark docbook exslt
+ extensions reports xmlspec multiple XSLTMark docbook exslt
all:
EXTRA_DIST = \
tst-1.xml tst-1.xsl tst-1.out tst-1.err \
- tst-2.xml tst-2.xsl tst-2.out tst-2.err
+ tst-2.xml tst-2.xsl tst-2.out tst-2.err \
+ undefvar-2.xml undefvar-2.xsl undefvar-2.out undefvar-2.err
all: test
--- /dev/null
+runtime error: file ./undefvar.xsl line 6 element value-of
+unregistered variable one
+xmlXPathRunEval: parameter error
+xmlXPathEval: 1 object left on the stack
+runtime error: file ./undefvar.xsl line 6 element value-of
+xsltValueOf: text copy failed
--- /dev/null
+<?xml version="1.0"?>
+<eins>
+<content>content of one</content>
+</eins>
--- /dev/null
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:output method="xml" indent="yes" encoding="ISO-8859-1"/>
+ <xsl:variable name="two">abcde</xsl:variable>
+ <xsl:template match="*">
+ <xsl:value-of select="translate('hello','ABCDE',$one)"/>
+ </xsl:template>
+</xsl:stylesheet>