summaryrefslogtreecommitdiff
path: root/python
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 /python
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 'python')
-rw-r--r--python/tests/extelem.py2
-rwxr-xr-xpython/tests/extfunc.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/extelem.py b/python/tests/extelem.py
index b01f9c3a..3364d01a 100644
--- a/python/tests/extelem.py
+++ b/python/tests/extelem.py
@@ -41,7 +41,7 @@ styledoc = libxml2.parseDoc("""
<xsl:stylesheet version='1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
xmlns:foo='%s'
- xsl:extension-element-prefixes='foo'>
+ extension-element-prefixes='foo'>
<xsl:template match='/'>
<article><foo:test>FAILURE</foo:test></article>
diff --git a/python/tests/extfunc.py b/python/tests/extfunc.py
index 8d505e53..0a559531 100755
--- a/python/tests/extfunc.py
+++ b/python/tests/extfunc.py
@@ -30,7 +30,7 @@ styledoc = libxml2.parseDoc("""
<xsl:stylesheet version='1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
xmlns:foo='http://example.com/foo'
- xsl:exclude-result-prefixes='foo'>
+ exclude-result-prefixes='foo'>
<xsl:param name='bar'>failure</xsl:param>
<xsl:template match='/'>