Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6489890

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: