summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKasimier T. Buchcik <kbuchcik@src.gnome.org>2006-03-30 15:31:11 +0000
committerKasimier T. Buchcik <kbuchcik@src.gnome.org>2006-03-30 15:31:11 +0000
commit63b4680f80e4611c5ee396b342b3d0305df4fb6d (patch)
tree225b6a7f6ed1a54dbb3ab15d2ab44ba5b775aabc /tests
parentea9ed33cc885dfde09b82e0cf1e80dba96ebf11b (diff)
downloadlibxslt-63b4680f80e4611c5ee396b342b3d0305df4fb6d.tar.gz
libxslt-63b4680f80e4611c5ee396b342b3d0305df4fb6d.tar.bz2
libxslt-63b4680f80e4611c5ee396b342b3d0305df4fb6d.zip
Fixed regression tests wrt usage of the attributes
* tests/general/bug-36-inc.xsl tests/general/bug-37-inc.xsl tests/general/bug-65-inc.xsl tests/general/bug-100.xsl tests/REC/test-15-1.xsl tests/REC/test-7.1.1-3.xsl tests/namespaces/extra2.xsl tests/extensions/module.xsl tests/plugins/plugin.xsl python/tests/extelem.py python/tests/extfunc.py: Fixed regression tests wrt usage of the attributes "exclude-result-prefixes" and "extension-element-prefixes". test-7.1.1-3.xsl fails now, since the code still does not exclude ns-decls correctly.
Diffstat (limited to 'tests')
-rw-r--r--tests/REC/test-15-1.xsl2
-rw-r--r--tests/REC/test-7.1.1-3.xsl4
-rw-r--r--tests/extensions/module.xsl2
-rw-r--r--tests/general/bug-100.xsl2
-rw-r--r--tests/general/bug-36-inc.xsl2
-rw-r--r--tests/general/bug-37-inc.xsl2
-rw-r--r--tests/general/bug-65.xsl2
-rw-r--r--tests/namespaces/extra2.xsl2
-rw-r--r--tests/plugins/plugin.xsl2
9 files changed, 10 insertions, 10 deletions
diff --git a/tests/REC/test-15-1.xsl b/tests/REC/test-15-1.xsl
index 920a268e..71cdc23c 100644
--- a/tests/REC/test-15-1.xsl
+++ b/tests/REC/test-15-1.xsl
@@ -1,7 +1,7 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:test="http://example.org/"
- xsl:extension-element-prefixes="test"
+ extension-element-prefixes="test"
exclude-result-prefixes="test"
version='1.0'>
<xsl:template match="/">
diff --git a/tests/REC/test-7.1.1-3.xsl b/tests/REC/test-7.1.1-3.xsl
index d4a72b93..365a883d 100644
--- a/tests/REC/test-7.1.1-3.xsl
+++ b/tests/REC/test-7.1.1-3.xsl
@@ -5,8 +5,8 @@
<doc:doc>Some ignored documentation the prefix should not show
up on the doc element</doc:doc>
-<xsl:template xsl:exclude-result-prefixes="doc" match="/">
-<out>SUCCESS</out>
+<xsl:template match="/">
+<out xsl:exclude-result-prefixes="doc">SUCCESS</out>
</xsl:template>
</xsl:stylesheet>
diff --git a/tests/extensions/module.xsl b/tests/extensions/module.xsl
index 7f69c18f..4ada2780 100644
--- a/tests/extensions/module.xsl
+++ b/tests/extensions/module.xsl
@@ -2,7 +2,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:libxslt="http://xmlsoft.org/XSLT/"
xmlns:test="http://xmlsoft.org/XSLT/"
- xsl:extension-element-prefixes="libxslt test"
+ extension-element-prefixes="libxslt test"
version='1.0'>
<!-- the prefix is registered twice to check single initialization -->
<xsl:template match="/">
diff --git a/tests/general/bug-100.xsl b/tests/general/bug-100.xsl
index c2e9a090..9a62e230 100644
--- a/tests/general/bug-100.xsl
+++ b/tests/general/bug-100.xsl
@@ -1,7 +1,7 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://xmlsoft.org/XSLT/"
- xsl:extension-element-prefixes="#default"
+ extension-element-prefixes="#default"
version='1.0'>
<xsl:template match="/">
<test/>
diff --git a/tests/general/bug-36-inc.xsl b/tests/general/bug-36-inc.xsl
index 9605c886..df991b77 100644
--- a/tests/general/bug-36-inc.xsl
+++ b/tests/general/bug-36-inc.xsl
@@ -1,7 +1,7 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:n="http://xmlsoft.org/"
- xsl:exclude-result-prefixes="n"
+ exclude-result-prefixes="n"
version='1.0'>
<xsl:variable name="var" select="/n:x" />
diff --git a/tests/general/bug-37-inc.xsl b/tests/general/bug-37-inc.xsl
index 4da21d5e..6fe22363 100644
--- a/tests/general/bug-37-inc.xsl
+++ b/tests/general/bug-37-inc.xsl
@@ -1,7 +1,7 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:n="http://xmlsoft.org/"
- xsl:exclude-result-prefixes="n"
+ exclude-result-prefixes="n"
version='1.0'>
<xsl:template match="/">
diff --git a/tests/general/bug-65.xsl b/tests/general/bug-65.xsl
index 9caa31c0..ec8f76de 100644
--- a/tests/general/bug-65.xsl
+++ b/tests/general/bug-65.xsl
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:libxslt="http://xmlsoft.org/XSLT/namespace" xsl:exclude-result-prefixes="libxslt" version="1.0">
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:libxslt="http://xmlsoft.org/XSLT/namespace" exclude-result-prefixes="libxslt" version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:variable name="one">
<xsl:copy-of select="."/>
diff --git a/tests/namespaces/extra2.xsl b/tests/namespaces/extra2.xsl
index 237d9a88..52b63c8a 100644
--- a/tests/namespaces/extra2.xsl
+++ b/tests/namespaces/extra2.xsl
@@ -2,7 +2,7 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/TR/xhtml1/strict"
xmlns:libxml="http://xmlsoft.org/XSLT/namespace"
- xsl:extension-element-prefixes="libxml">
+ extension-element-prefixes="libxml">
<xsl:template match="/">
<libxml:debug/>
diff --git a/tests/plugins/plugin.xsl b/tests/plugins/plugin.xsl
index 0203d230..767c980a 100644
--- a/tests/plugins/plugin.xsl
+++ b/tests/plugins/plugin.xsl
@@ -2,7 +2,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:libxslt="http://xmlsoft.org/xslt/testplugin"
xmlns:test="http://xmlsoft.org/xslt/testplugin"
- xsl:extension-element-prefixes="libxslt test"
+ extension-element-prefixes="libxslt test"
version='1.0'>
<!-- the prefix is registered twice to check single initialization -->
<xsl:template match="/">