mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-10 14:40:58 +03:00
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.
This commit is contained in:
@ -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>
|
||||
|
@ -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='/'>
|
||||
|
Reference in New Issue
Block a user