[ http://nagoya.apache.org/jira/browse/XALANJ-774?page=history ]

Henry Zongaro updated XALANJ-774:
---------------------------------

    Priority: Critical

> Out of memory running XSL file against large XML, when using SAX
> ----------------------------------------------------------------
>
>          Key: XALANJ-774
>          URL: http://nagoya.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
>     Assignee: Xalan Developers Mailing List
>     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://nagoya.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to