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

ArrayIndexOutOfBounds-Exception in FastStringBuffer for empty strings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.7.1
    • None
    • Other
    • None
    • Operating System: Solaris
      Platform: Sun
    • 9914

    Description

      In special circumstances the method sendNormalizedSAXcharacters()
      in class FastStringBuffer is called with a length of 0.
      In this case there is an exception thrown when checking the
      first char if its a WhiteSpace.

      I will soon send a patch to solve this issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wolfram.eisert@dresdner-bank.com Wolfram
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: