[ http://issues.apache.org/jira/browse/XALANC-590?page=comments#action_12360520 ]
David Bertoni commented on XALANC-590: -------------------------------------- Could you provide a complete minimal stylesheet and minimal source document to reproduce the assertion? It will be very difficult to diagnose the problem without them. > Assertion failed: theFirstNodeOwner != 0, file > \xml-xalan\c\src\xalanc\XPath\MutableNodeRefList.cpp, line 606 > ------------------------------------------------------------------------------------------------------------- > > Key: XALANC-590 > URL: http://issues.apache.org/jira/browse/XALANC-590 > Project: XalanC > Type: Bug > Components: XalanC > Versions: 1.10 > Environment: AIX, Win32 > Reporter: Michel van Uunen > Assignee: David Bertoni > Priority: Minor > > xalan:nodeset() external function in conjunction with union operator ( | ) > might lead to assertion failure. > e.g. ('strcmp' in xslt): > <xsl:template name="strcmp"> > <xsl:param name="pStr1"/> > <xsl:param name="pStr2"/> > <xsl:choose> > <xsl:when test="$pStr1 = $pStr2"> > <xsl:text>0</xsl:text> > </xsl:when> > <xsl:otherwise> > <xsl:for-each select="xalan:nodeset( $pStr1) | xalan:nodeset( $pStr2 )"> > <xsl:sort select="."/> > <xsl:if test="position() = 1"> > <xsl:choose> > <xsl:when test=". = $pStr1"> > <xsl:text>-1</xsl:text> > </xsl:when> > <xsl:otherwise> > <xsl:text>1</xsl:text> > </xsl:otherwise> > </xsl:choose> > </xsl:if> > </xsl:for-each> > </xsl:otherwise> > </xsl:choose> > </xsl:template> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]