+Wed Apr 30 15:23:33 CEST 2003 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt/transform.c: fixing bug #111755 when a template is
+ applied to an attribute
+ * tests/docs/Makefile.am tests/docs/bug-119.*
+ tests/general/Makefile.am tests/general/bug-119*: added the
+ example in the regression tests for that bug.
+
Tue Apr 29 15:18:31 CEST 2003 Daniel Veillard <daniel@veillard.com>
* doc/Makefile.am doc/libxslt.xml: upgraded to the XML/XSLT toolchain
- bug fixes: Result Value Tree handling, XML IDs, keys(), extra namespace
declarations with xsl:elements.
- portability: python and trio fixes (Albert Chin), python on Solaris
- (Ben Phillips)
+ (Ben Phillips)
1.0.28: Mar 24 2003:
while (attrs != NULL) {
template = xsltGetTemplate(ctxt, (xmlNodePtr) attrs, NULL);
if (template) {
- xsltApplyOneTemplate(ctxt, node, template->content, template,
- NULL);
+ xsltApplyOneTemplate(ctxt, (xmlNodePtr) attrs,
+ template->content, template, NULL);
}
attrs = attrs->next;
}
bug-116.xml \
bug-117.xml \
bug-118.xml \
+ bug-119.xml \
character.xml \
array.xml \
items.xml
--- /dev/null
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+version="1.0">
+ <xsl:template match="/">
+ <xsl:apply-templates select="*" />
+ </xsl:template>
+
+ <xsl:template match="@match">
+ NAME <xsl:value-of select="name(.)" />
+ </xsl:template>
+</xsl:stylesheet>
+
bug-113.out bug-113.xsl \
bug-114.out bug-114.xsl \
bug-115.out bug-115.xsl \
- bug-115.out bug-116.xsl \
- bug-115.out bug-117.xsl \
- bug-115.out bug-118.xsl \
+ bug-116.out bug-116.xsl \
+ bug-117.out bug-117.xsl \
+ bug-118.out bug-118.xsl \
+ bug-119.out bug-119.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
--- /dev/null
+<?xml version="1.0"?>
+
+
+ NAME match
+
+
+
+
+ NAME match
+ NAME
+
+
--- /dev/null
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+version="1.0">
+ <xsl:template match="/">
+ <xsl:apply-templates select="*" />
+ </xsl:template>
+
+ <xsl:template match="@match">
+ NAME <xsl:value-of select="name(.)" />
+ </xsl:template>
+</xsl:stylesheet>
+