diff options
Diffstat (limited to 'tests/general')
-rw-r--r-- | tests/general/Makefile.am | 1 | ||||
-rw-r--r-- | tests/general/bug-151.out | 0 | ||||
-rw-r--r-- | tests/general/bug-151.xsl | 15 |
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am index 452e97b5..73f9a9bf 100644 --- a/tests/general/Makefile.am +++ b/tests/general/Makefile.am @@ -158,6 +158,7 @@ EXTRA_DIST = \ bug-148.out bug-148.xsl \ bug-149.out bug-149.xsl \ bug-150.out bug-150.xsl \ + bug-151.out bug-151.xsl \ character.out character.xsl \ character2.out character2.xsl \ itemschoose.out itemschoose.xsl \ diff --git a/tests/general/bug-151.out b/tests/general/bug-151.out new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/general/bug-151.out diff --git a/tests/general/bug-151.xsl b/tests/general/bug-151.xsl new file mode 100644 index 00000000..e5b9f731 --- /dev/null +++ b/tests/general/bug-151.xsl @@ -0,0 +1,15 @@ +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:ex="http://example.org/"> + +<xsl:output method="xml" + encoding="UTF-8" + doctype-public="-//example.org//Example 1.0//EN"/> + +<xsl:template match="/tst"> + <ex:document xmlns:ex="http://example.org/"> + <xsl:apply-templates match="doc"/> + </ex:document> +</xsl:template> + +</xsl:stylesheet> |