diff options
author | MyoungJune Park <mj2004.park@samsung.com> | 2016-06-28 19:02:02 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2016-06-28 19:02:02 -0700 |
commit | 9f437f121e0a3f95f2f73a2fb94129df473ce6c7 (patch) | |
tree | be58f256e24304bccfdc6329d96567dcd6b8d877 /tests/general/bug-182.xsl | |
parent | 925059ca6aa063c9640e82ad4f40be2e38959aa8 (diff) | |
parent | 0f3d43b0708f1e7a1a1826b2e4d310c86f086078 (diff) | |
download | libxslt-9f437f121e0a3f95f2f73a2fb94129df473ce6c7.tar.gz libxslt-9f437f121e0a3f95f2f73a2fb94129df473ce6c7.tar.bz2 libxslt-9f437f121e0a3f95f2f73a2fb94129df473ce6c7.zip |
Merge "Rebase for libxslt-1.1.29" into tizen_base
Diffstat (limited to 'tests/general/bug-182.xsl')
-rw-r--r-- | tests/general/bug-182.xsl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/general/bug-182.xsl b/tests/general/bug-182.xsl new file mode 100644 index 00000000..cebf2ea4 --- /dev/null +++ b/tests/general/bug-182.xsl @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +<!-- Known to fail with libxml2 2.9.0 and 2.9.1. --> + +<xsl:template match="node()"/> + +<xsl:template match="text()[2]"> + <p>text()[2]: <xsl:value-of select="."/></p> +</xsl:template> +<xsl:template match="b[2]"> + <p>b[2]: <xsl:value-of select="."/></p> +</xsl:template> + +<xsl:template match="/"> + <body> + <xsl:apply-templates select="/root/body/node()"/> + </body> +</xsl:template> + +</xsl:stylesheet> |