Robin, thanks for telling us about the bug. I've fixed it; the fix will be included in v0.4. Tom [EMAIL PROTECTED] wrote: > > When I try to select an empty node set as the default value of a > parameter, Sablotron crashes with the following message: > > sabcmd: ../expr.cpp:782: int LocStep::matches(class Vertex *): Assertion `v' failed. > > I'm using the method suggested in the XSLT spec at > http://www.w3.org/TR/xslt#variable-values > > An example stylesheet is: > > <?xml version="1.0"?> > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:template match="/*"> > <xsl:param name="crash_me" select="/.."/> > </xsl:template> > </xsl:stylesheet> > > When applied to an XML document, this causes the crash. > > .robin.
