Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-428

XmlException "Unexpected element: CDATA" is thrown when file size is 8k+1byte

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • Version 2.5
    • Version 5.1.0
    • None
    • None

    Description

      When xml file is 8193bytes (8k+1) and have CRLF in the end (after closing tag) then exception "Unexpected element: CDATA" is thrown.
      Maybe it is somehow related to 8k buffer used in XMLReaderReader and XMLStreamReader classes

      reproducible on latest svn revision (r884309)

      Attachments

        1. test.tgz
          0.7 kB
          Volodymyr Bychkoviak

        Activity

          People

            Unassigned Unassigned
            vbychkoviak Volodymyr Bychkoviak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: