+Thu Mar 30 17:23:52 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
+
+ * 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.
+
Thu Mar 30 17:11:53 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
* libxslt/xslt.c libxslt/xsltutils.c libxslt/preproc.c
<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>
<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='/'>
<?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="/">
<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>
<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="/">
<?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/>
<?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" />
<?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="/">
<?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="."/>
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/>
<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="/">