+Mon Feb 11 16:34:37 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+ * tests/docs/Makefile.am tests/docs/bug-73.xml
+ tests/general/Makefile.am tests/general/bug-73.*: added a
+ specific example for bug #71181 in the regression tests
+
Mon Feb 11 16:22:36 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/pattern.c: fixed bug #71181 p/text() would not
bug-70.xml \
bug-71.xml \
bug-72.xml \
+ bug-73.xml \
character.xml \
array.xml \
items.xml
--- /dev/null
+<body>
+ <p>The first paragraph.</p>
+ <p>The <em>second</em> paragraph.</p>
+</body>
+
bug-70.out bug-70.xsl \
bug-71.out bug-71.xsl \
bug-72.out bug-72.xsl \
+ bug-73.out bug-73.xsl \
character.out character.xsl \
character2.out character2.xsl \
itemschoose.out itemschoose.xsl \
--- /dev/null
+text in p = "The first paragraph."
+text in p = "The"
+text in p = "paragraph."
--- /dev/null
+<?xml version="1.0" encoding="iso-8859-1"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:output method="text"/>
+
+ <xsl:template match="p/text()">
+ <xsl:value-of
+ select="concat('text in ', name(..), ' = "')"/>
+ <xsl:value-of select="normalize-space(.)"/>
+ <xsl:text>"
</xsl:text>
+ </xsl:template>
+
+ <xsl:template match="text()"/>
+
+</xsl:stylesheet>
+