You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/04/01 22:45:18 UTC
[jira] Resolved: (XALANJ-774) Out of memory running XSL file against large XML, when using SAX
[ http://issues.apache.org/jira/browse/XALANJ-774?page=history ]
Brian Minchau resolved XALANJ-774:
----------------------------------
Assign To: (was: Xalan Developers Mailing List)
Resolution: Cannot Reproduce
Resolving as "Cannot Reproduce"
> Out of memory running XSL file against large XML, when using SAX
> ----------------------------------------------------------------
>
> Key: XALANJ-774
> URL: http://issues.apache.org/jira/browse/XALANJ-774
> Project: XalanJ2
> Type: Bug
> Components: Xalan
> Versions: 2.2.x
> Environment: Operating System: Other
> Platform: All
> Reporter: Henry Morgan
> Priority: Critical
>
> I get the following error:
> Exception in thread "main" java.lang.OutOfMemoryError
> <<no stack trace available>>
> When running the SAX2SAX example program, againt a large (100MB) XML document
> being processed with the following XSL document:-
> <?xml version="1.0" encoding="UTF-8" ?>
> <!-- XSLT Generated automatically from rules -->
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
> <xsl:output indent="yes" method="xml" />
> <xsl:template match="/">
> <xsl:element name="Database">
> <xsl:apply-templates select = "/dblp/book" />
> </xsl:element>
> </xsl:template>
> <xsl:template match="/dblp/book">
> <xsl:element name="dblpBooks">
> <xsl:attribute name="ID">
> <xsl:value-of select="@key" />
> </xsl:attribute>
> </xsl:element>
> </xsl:template>
> </xsl:stylesheet>
> I have tried explictly turning validation off on the "reader" object, but this
> does not fix the problem (the source code is the SAX2SAX.java file, in the
> supplied examples).
> Any help much appreciated,
> Thanks
> Henry
--
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
-
If you want more information on JIRA, or have a bug to report 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