Thanks for reporting this. Suprising that no-one has hit it before. I've documented it as a bug and have provided a patch at:
Michael Kay
Saxonica Limited

From: [] On Behalf Of Mark Gabriel
Sent: 17 July 2006 17:29
Subject: [saxon] saxon:evaluate
Importance: High



I have been updating my xslt’s to use the xhtml output type and have come across the following issue with the evaluate function.

Please see attached xslt and sample xml file.