This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Saxon 6.4.4 (out of memory) vs. 6.2.2 (works fine)
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Saxon 6.4.4 (out of memory) vs. 6.2.2 (works fine)
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 16 Oct 2001 14:12:10 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
I suspect I know what this is. Bug 441078
(http://sourceforge.net/tracker/index.php?func=detail&aid=441078&group_id=29
872&atid=397617)
was caused because nodes in temporary trees weren't being allocated a
globally unique identity. This was fixed in 6.4.3; I suspect that the fix
for this is causing temporary trees not to be garbage collected.
(P.S. This list isn't really the proper place for product-specific
discussions)
Mike Kay
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of
> Janning Vygen
> Sent: 16 October 2001 11:58
> To: XSL-List@lists.mulberrytech.com
> Subject: [xsl] Saxon 6.4.4 (out of memory) vs. 6.2.2 (works fine)
>
>
> Hi Michael Kay,
>
> just downloaded 6.4.4 of my favorite xslt parser and tried to parse
> my documents but i got an Out Of Memory Error.
>
> Dont know why, but maybe its a bug??
> It works fine with version 6.2.2.
>
> Parts of my stylesheet looks like this:
> [...]
> <xsl:template name="ansprechpartner">
> <xsl:variable name="setid" select="ancestor-or-self::set/@id"/>
>
> <xsl:variable name="kontakt">
> <xsl:call-template name="findkontakt">
> <xsl:with-param name="chunk" select=".."/>
> </xsl:call-template>
> </xsl:variable>
>
> <xsl:if test="$kontakt/*">
> <!-- test for children because temporary trees are always true -->
> [...]
> </xsl:if>
> </xsl:template>
>
> If i comment out the section with <xsl:if test="$kontakt/*"> no
> memory error occurs.
> But when i replace the xsl:if tag with
> <xsl:message>
> ## <xsl:value-of select="$kontakt/kontakt/@id"/> ##
> </xsl:message>
>
> i get an error again.
>
> i would guess that i am not clever enough to make it right, but as it
> works fine with 6.2.2. it might be of interest for you. If so, i can
> send you the completet source code and error messages...
> If not, just forget about it.
>
> Janning
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list