mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-08 21:42:07 +03:00
Applied another patch from Joel Reed, fixed a segfault and changed the
* tests/plugins/plugin.* tests/Makefile.am libxslt/extensions.c libxslt/Makefile.am configure.in: Applied another patch from Joel Reed, fixed a segfault and changed the configure code a bit to work in my debug environment. Daniel
This commit is contained in:
12
tests/plugins/plugin.xsl
Normal file
12
tests/plugins/plugin.xsl
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version='1.0'?>
|
||||
<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"
|
||||
version='1.0'>
|
||||
<!-- the prefix is registered twice to check single initialization -->
|
||||
<xsl:template match="/">
|
||||
<libxslt:testplugin/>
|
||||
<xsl:value-of select="libxslt:testplugin('SUCCESS')"/>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
Reference in New Issue
Block a user