Suspected bug for saxonhe9-2-1-2j
Added by Anonymous over 14 years ago
Legacy ID: #8647838 Legacy Poster: Jan-Willem van den Broek (jwbroek)
Hi all, When the following schema is applied to any input, it raises a "*** Internal Saxon error: local variable encountered whose binding has been deleted" message. <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="*"> xsl:copy <xsl:variable name="foo" select="."/> <xsl:namespace name="{$foo}" select="'bar'"/> </xsl:copy> </xsl:template> </xsl:stylesheet> Obviously, this is a stripped down version of an XSLT that actually does something useful. ;-) The error goes away when foo is set to a constant. The issue does not reproduce in Kernow 1.6.1, which uses Saxon 9.1.0.3. Regards, JW
Replies (4)
Please register to reply
RE: Suspected bug for saxonhe9-2-1-2j - Added by Anonymous over 14 years ago
Legacy ID: #8647893 Legacy Poster: Michael Kay (mhkay)
Thanks very much for reducing this to such an amazingly simple test case. Yes, this is clearly a Saxon bug, assuming I can reproduce it. I'll investigate pronto.
RE: Suspected bug for saxonhe9-2-1-2j - Added by Anonymous over 14 years ago
Legacy ID: #8648087 Legacy Poster: Jan-Willem van den Broek (jwbroek)
Think nothing of it. It's in my own best interest to have this fixed, after all. :-) Good luck!
RE: Suspected bug for saxonhe9-2-1-2j - Added by Anonymous over 14 years ago
Legacy ID: #8648218 Legacy Poster: Michael Kay (mhkay)
I've logged the bug at https://sourceforge.net/tracker/?func=detail&aid=3072122&group_id=29872&atid=397617 and a patch is in Subversion. I'm hoping to produce a new maintenance release soon - it depends on the outcome of user testing of another patch.
RE: Suspected bug for saxonhe9-2-1-2j - Added by Anonymous over 14 years ago
Legacy ID: #8648265 Legacy Poster: Jan-Willem van den Broek (jwbroek)
Wow, that's quick. Thanks!
Please register to reply