On Sat, Oct 25 2008 16:14:30 +0100, [EMAIL PROTECTED] wrote:
> The smallest stylesheet with which I can generate this error is
...
>      <xsl2:value-of
> select="concat('anon_param__',generate-id($nodes[1]),',',xcaf:map_end_test($nodes[position
>  
>
> = 1]))"/>
...
> I get a seg fault. If I add empty parentheses to position() four lines
> from the bottom of the stylesheet I don't. The parentheses should
> obviously be there, but the incorrect version looks like a valid xpath
> to me.

It is, but lacking a <position> child of anything in $nodes, you are
passing an empty node-set to xcaf:map_end_test().  Presumably that's
where it blows up.

Regards,


Tony.
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to