xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michel van Uunen (JIRA)" <xalan-...@xml.apache.org>
Subject [jira] Created: (XALANC-590) Assertion failed: theFirstNodeOwner != 0, file \xml-xalan\c\src\xalanc\XPath\MutableNodeRefList.cpp, line 606
Date Thu, 15 Dec 2005 13:02:45 GMT
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
    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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Mime
View raw message