Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-1039

Inconsistent exception when XSL runs into an infinite loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.3
    • None
    • None
    • Operating System: Windows NT/2K
      Platform: All
    • 9509

    Description

      Using the attached SS, in WSAD, the first time I invoke it, I got the
      java.lang.StackOverflowError exception.

      The second time I invoke it, I got this instead:
      javax.xml.transform.TransformerException: java.lang.NullPointerException
      file://f:/eclipse/workspace/XMLTransformProject/address/dtd/infiniteLoop.xsl
      Line0; Column0

      I am not sure why I cannot get back the same StackOverflow exception.

      I've tried the method setRecursionLimit to 20 and 100, but there is no effect.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--infiniteLoop.xsl
          0.5 kB
          Christina Lau
        2. ASF.LICENSE.NOT.GRANTED--Contact.xml
          0.5 kB
          Christina Lau
        3. ASF.LICENSE.NOT.GRANTED--Contact.dtd
          0.4 kB
          Christina Lau

        Activity

          People

            Unassigned Unassigned
            clau@ca.ibm.com Christina Lau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: