mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-09-17 03:22:14 +03:00
* libxslt/transform.c libxslt/xslt.c libxslt/xsltInternals.h: fixed exclude-result-prefixes handling and how namespaces propagate from the stylesheet to the result in general, this is a serious cleanup. * tests/general/bug-3[67]-inc.xsl tests/general/bug-6-.xsl tests/general/itemschoose.out tests/namespaces/extra.xsl tests/REC/test-10-1.xsl tests/REC/test-10-2.xsl tests/REC/test-11.2-1.xsl tests/REC/test-11.2-2.xsl tests/REC/test-11.2-6.xsl tests/REC/test-15-1.xsl tests/REC/test-16.1-1.xsl tests/REC/test-16.1-2.xsl tests/REC/test-5.4-1.out tests/REC/test-5.4-2.out tests/REC/test-5.4-3.out tests/REC/test-5.4-4.out tests/REC/test-7.1.1-2.out tests/REC/test-7.1.1-2.xsl tests/REC/test-7.1.1-3.out tests/REC/test-7.1.1-3.xsl tests/REC/test-7.1.1.out tests/REC/test-7.1.3.xsl tests/REC/test-7.3.xsl tests/REC/test-7.4.xsl tests/REC/test-7.6.1-1.xsl tests/REC/test-7.6.1-2.xsl tests/REC/test-7.6.1-3.xsl tests/REC/test-7.6.2-1.xsl: fixed and rechecked all the tests where the namespace propagation was wrong either taht the rules were not applied correctly or that superfluous namespaces were declared in the stylesheets Daniel
14 lines
337 B
XML
14 lines
337 B
XML
<xsl:stylesheet
|
|
version="1.0"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:doc="http://example.org/doc"
|
|
exclude-result-prefixes="doc">
|
|
|
|
<doc:doc>Some ignored documentation the prefix should not show
|
|
up on the doc element</doc:doc>
|
|
<xsl:template match="/">
|
|
<out>SUCCESS</out>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|