From fb46ba79d47c7c7816e78a5f088ab54a057d51be Mon Sep 17 00:00:00 2001 From: "William M. Brack" Date: Sun, 15 Aug 2004 04:55:29 +0000 Subject: fixed handling of #default in namespace-alias for default namespace (bug * libxslt/namespaces.[ch], transform.c, xslt.c, xsltInternals.h: fixed handling of #default in namespace-alias for default namespace (bug 149659) * tests/namespaces/tst7.* tst8.*: added regression tests for above --- tests/namespaces/Makefile.am | 4 +++- tests/namespaces/tst7.out | 13 +++++++++++++ tests/namespaces/tst7.xml | 2 ++ tests/namespaces/tst7.xsl | 21 +++++++++++++++++++++ tests/namespaces/tst8.out | 7 +++++++ tests/namespaces/tst8.xml | 2 ++ tests/namespaces/tst8.xsl | 18 ++++++++++++++++++ 7 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 tests/namespaces/tst7.out create mode 100644 tests/namespaces/tst7.xml create mode 100644 tests/namespaces/tst7.xsl create mode 100644 tests/namespaces/tst8.out create mode 100644 tests/namespaces/tst8.xml create mode 100644 tests/namespaces/tst8.xsl (limited to 'tests/namespaces') diff --git a/tests/namespaces/Makefile.am b/tests/namespaces/Makefile.am index ebb95810..4c58bd72 100644 --- a/tests/namespaces/Makefile.am +++ b/tests/namespaces/Makefile.am @@ -11,7 +11,9 @@ EXTRA_DIST = \ tst3.xml tst3.xsl tst3.out \ tst4.xml tst4.xsl tst4.out \ tst5.xml tst5.xsl tst5.out \ - tst6.xml tst6.xsl tst6.out + tst6.xml tst6.xsl tst6.out \ + tst7.xml tst7.xsl tst7.out \ + tst8.xml tst8.xsl tst8.out all: diff --git a/tests/namespaces/tst7.out b/tests/namespaces/tst7.out new file mode 100644 index 00000000..b86f605e --- /dev/null +++ b/tests/namespaces/tst7.out @@ -0,0 +1,13 @@ + + + + + + + A title + + + + Some text + + diff --git a/tests/namespaces/tst7.xml b/tests/namespaces/tst7.xml new file mode 100644 index 00000000..ac9ac8fd --- /dev/null +++ b/tests/namespaces/tst7.xml @@ -0,0 +1,2 @@ + + diff --git a/tests/namespaces/tst7.xsl b/tests/namespaces/tst7.xsl new file mode 100644 index 00000000..1ce238bd --- /dev/null +++ b/tests/namespaces/tst7.xsl @@ -0,0 +1,21 @@ + + + + + + + + + + A title + + + + Some text + + + + diff --git a/tests/namespaces/tst8.out b/tests/namespaces/tst8.out new file mode 100644 index 00000000..5eabde58 --- /dev/null +++ b/tests/namespaces/tst8.out @@ -0,0 +1,7 @@ + + + + Content 2 + + Content 3 + diff --git a/tests/namespaces/tst8.xml b/tests/namespaces/tst8.xml new file mode 100644 index 00000000..ac9ac8fd --- /dev/null +++ b/tests/namespaces/tst8.xml @@ -0,0 +1,2 @@ + + diff --git a/tests/namespaces/tst8.xsl b/tests/namespaces/tst8.xsl new file mode 100644 index 00000000..52f2caa1 --- /dev/null +++ b/tests/namespaces/tst8.xsl @@ -0,0 +1,18 @@ + + + + + + + + + Content 2 + + Content 3 + + + -- cgit v1.2.3