You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Svante Schubert (JIRA)" <xa...@xml.apache.org> on 2006/08/02 13:28:13 UTC

[jira] Created: (XALANJ-2310) StackOverFlow during large file transformation (works in saxon-8-7-3b)

StackOverFlow during large file transformation (works in saxon-8-7-3b)
----------------------------------------------------------------------

                 Key: XALANJ-2310
                 URL: http://issues.apache.org/jira/browse/XALANJ-2310
             Project: XalanJ2
          Issue Type: Bug
          Components: transformation
    Affects Versions: 2.7
         Environment: WindowsXP SP2
            Reporter: Svante Schubert
            Priority: Minor


During the transformation of a large document a stack overflow occurs.

The scenario is the transformation of the OASIS OpenDocument specification from OpenOffice.org XML to XHTML. 

Independent of the ability of improvement of the stylesheet itself, the transformation succeded in Saxon, which shows that it is managable and therefore to be seen as a bug in Xalan.


-- 
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


[jira] Commented: (XALANJ-2310) StackOverFlow during large file transformation (works in saxon-8-7-3b)

Posted by "Svante Schubert (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2310?page=comments#action_12425215 ] 
            
Svante Schubert commented on XALANJ-2310:
-----------------------------------------

The informationless stacktrace:

(Position des Fehlers unbekannt)XSLT-Fehler (java.lang.StackOverflowError): null
Exception in thread "main" java.lang.RuntimeException
	at org.apache.xalan.xslt.Process.doExit(Process.java:1153)
	at org.apache.xalan.xslt.Process.main(Process.java:1126)


EDITOR'S NOTE:
Translation of the german
"(Position des Fehlers unbekannt)XSLT-Fehler (java.lang.StackOverflowError): null"
is
"(Position of Exception unknown)XSLT-Exception (java.lang.StackOverflowError): null"


> StackOverFlow during large file transformation (works in saxon-8-7-3b)
> ----------------------------------------------------------------------
>
>                 Key: XALANJ-2310
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2310
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: transformation
>    Affects Versions: 2.7
>         Environment: WindowsXP SP2
>            Reporter: Svante Schubert
>            Priority: Minor
>         Attachments: test-scenario.zip
>
>
> During the transformation of a large document a stack overflow occurs.
> The scenario is the transformation of the OASIS OpenDocument specification from OpenOffice.org XML to XHTML. 
> Independent of the ability of improvement of the stylesheet itself, the transformation succeded in Saxon, which shows that it is managable and therefore to be seen as a bug in Xalan.

-- 
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


[jira] Commented: (XALANJ-2310) StackOverFlow during large file transformation (works in saxon-8-7-3b)

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2310?page=comments#action_12442968 ] 
            
Brian Minchau commented on XALANJ-2310:
---------------------------------------

Since the testcase works with Saxon it appears that it is not an error in the stylesheet (e.g. where template instantiation can get into a recursive loop with no end).

However Xalan may be using more stack size than Saxon. You should try using the JVM -Xss option to increase the stack size, for example:
 -Xss50M

The number after -Xss is appended with 'K' for kilobytes or 'M' for megabytes.

> StackOverFlow during large file transformation (works in saxon-8-7-3b)
> ----------------------------------------------------------------------
>
>                 Key: XALANJ-2310
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2310
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: transformation
>    Affects Versions: 2.7
>         Environment: WindowsXP SP2
>            Reporter: Svante Schubert
>            Priority: Minor
>         Attachments: test-scenario.zip
>
>
> During the transformation of a large document a stack overflow occurs.
> The scenario is the transformation of the OASIS OpenDocument specification from OpenOffice.org XML to XHTML. 
> Independent of the ability of improvement of the stylesheet itself, the transformation succeded in Saxon, which shows that it is managable and therefore to be seen as a bug in Xalan.

-- 
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