XMLEventReader's initial state is incorrect when created using an XMLStreamReader

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: xml
    • 1.4
    • sparc
    • solaris_10
    • Verified

        Initial state of XMLEventReader when created using an XMLStreamReader is incorrect. For example, if the XMLStreamReader is in START_DOCUMENT, a call to XMLEventReader.peek() will return the next event, skipping over START_DOCUMENT.

        Unit test showing the problem is attached.

              Assignee:
              Santiago Pericasgeertsen
              Reporter:
              Santiago Pericasgeertsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: