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/07/24 19:19:03 UTC

DO NOT REPLY [Bug 9509] - Inconsistent exception when XSL runs into an infinite loop

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=9509>.
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=9509

Inconsistent exception when XSL runs into an infinite loop

ilene@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ilene@ca.ibm.com  2002-07-24 17:19 -------
With latest code, the recursionLimit can be set.  If the size of the "template 
stack" exceeds the recursionLimit, then you should get an error message like:

javax.xml.transform.TransformerException: Template nesting too deep. nesting = 
10, template match pattern is  /

If the recursionLimit is too high, it's still possible to get a StackOverflow 
exception or other behaviour as Joe describes.

Also see, bug 6021 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6021).