You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/02/11 08:36:52 UTC

DO NOT REPLY [Bug 6359] New: - position() within id() makes xalan hung

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6359>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6359

position() within id() makes xalan hung

           Summary: position() within id() makes xalan hung
           Product: XalanJ2
           Version: 2.2.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xpath
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: jan.pernica@brain-systems.com


Using position and last function on the node set created by id(node-list)
makes xalan to hang.
Example: 
...
  <xsl:apply-templates select="id(*/@idref)"/>
...

<xsl:template match="x">
   ...
   <xsl:if test="position()=last()">, </xsl:if>
<xsl:template>