Fix for EXSLT func:function
authorNick Wellnhofer <wellnhofer@aevum.de>
Tue, 4 Sep 2012 06:53:14 +0000 (14:53 +0800)
committerDaniel Veillard <veillard@redhat.com>
Tue, 4 Sep 2012 06:53:14 +0000 (14:53 +0800)
commit14ee81b06c12743a88fbc1676f3d35a86a74e08e
tree7575201b132897ec2a4043732300ffe226e26f61
parent0602c535e9c34efca22dba1b1b7465e0618e7bfc
Fix for EXSLT func:function

For https://bugzilla.gnome.org/show_bug.cgi?id=680920

If the first child of a func:function template is xslt:text, it will be
removed by xsltParseTemplateContent. So xsltParseTemplateContent should
be called before setting func->content to the first child.
libexslt/functions.c