diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/docs/Makefile.am | 2 | ||||
-rw-r--r-- | tests/docs/bug-148.xml | 1 | ||||
-rw-r--r-- | tests/docs/bug-149.xml | 1 | ||||
-rw-r--r-- | tests/general/Makefile.am | 2 | ||||
-rw-r--r-- | tests/general/bug-148.out | 2 | ||||
-rw-r--r-- | tests/general/bug-148.xsl | 13 | ||||
-rw-r--r-- | tests/general/bug-149.out | 2 | ||||
-rw-r--r-- | tests/general/bug-149.xsl | 11 |
8 files changed, 34 insertions, 0 deletions
diff --git a/tests/docs/Makefile.am b/tests/docs/Makefile.am index 5c57fcd5..e99d788b 100644 --- a/tests/docs/Makefile.am +++ b/tests/docs/Makefile.am @@ -147,6 +147,8 @@ EXTRA_DIST = \ bug-145.xml \ bug-146.xml \ bug-147.xml \ + bug-148.xml \ + bug-149.xml \ character.xml \ array.xml \ items.xml diff --git a/tests/docs/bug-148.xml b/tests/docs/bug-148.xml new file mode 100644 index 00000000..69d62f2c --- /dev/null +++ b/tests/docs/bug-148.xml @@ -0,0 +1 @@ +<doc/> diff --git a/tests/docs/bug-149.xml b/tests/docs/bug-149.xml new file mode 100644 index 00000000..69d62f2c --- /dev/null +++ b/tests/docs/bug-149.xml @@ -0,0 +1 @@ +<doc/> diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am index 202adda5..e8edbe92 100644 --- a/tests/general/Makefile.am +++ b/tests/general/Makefile.am @@ -155,6 +155,8 @@ EXTRA_DIST = \ bug-147.out bug-147.xsl \ bug-147-1.imp bug-147-2.imp bug-147-3.imp \ bug-147-4.imp bug-147-5.imp bug-147-6.imp \ + bug-148.out bug-148.xsl \ + bug-149.out bug-149.xsl \ character.out character.xsl \ character2.out character2.xsl \ itemschoose.out itemschoose.xsl \ diff --git a/tests/general/bug-148.out b/tests/general/bug-148.out new file mode 100644 index 00000000..f4e51640 --- /dev/null +++ b/tests/general/bug-148.out @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<foo/> diff --git a/tests/general/bug-148.xsl b/tests/general/bug-148.xsl new file mode 100644 index 00000000..7c5feea1 --- /dev/null +++ b/tests/general/bug-148.xsl @@ -0,0 +1,13 @@ +<?xml version='1.0' encoding='utf-8'?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:ns1="http://www.example.com/ns1" + exclude-result-prefixes="ns1" + version="1.0"> +<foo xmlns="http://www.example.com/ns1"/> + +<xsl:template match="/"> + <xsl:element name="foo"/> +</xsl:template> + +</xsl:stylesheet> diff --git a/tests/general/bug-149.out b/tests/general/bug-149.out new file mode 100644 index 00000000..f4e51640 --- /dev/null +++ b/tests/general/bug-149.out @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<foo/> diff --git a/tests/general/bug-149.xsl b/tests/general/bug-149.xsl new file mode 100644 index 00000000..5c2fe924 --- /dev/null +++ b/tests/general/bug-149.xsl @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='utf-8'?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> +<foo xmlns="http://www.example.com/ns1"/> + +<xsl:template match="/"> + <xsl:element name="foo"/> +</xsl:template> + +</xsl:stylesheet> |