Jettison
  1. Jettison
  2. JETTISON-50

MappedXMLStreamReader.getElementText() does not advance the event type to the CLOSE position

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Labels:
      None
    • Number of attachments :
      0

      Description

      According the Stax spec, the getElementText() call:
      Precondition: the current event is START_ELEMENT.
      Postcondition: the current event is the corresponding END_ELEMENT.

      The current implementation just returns the text. It does not advance it to the END_ELEMENT.

        Activity

        Hide
        Daniel Kulp added a comment -

        This is a bug hit by a CXF user:
        https://issues.apache.org/jira/browse/CXF-1578

        Show
        Daniel Kulp added a comment - This is a bug hit by a CXF user: https://issues.apache.org/jira/browse/CXF-1578
        Hide
        Dejan Bosanac added a comment -

        Fixed in SVN revision 67. I've also created a new 1.1-SNAPSHOT (http://snapshots.repository.codehaus.org/org/codehaus/jettison/jettison/1.1-SNAPSHOT/)

        Show
        Dejan Bosanac added a comment - Fixed in SVN revision 67. I've also created a new 1.1-SNAPSHOT ( http://snapshots.repository.codehaus.org/org/codehaus/jettison/jettison/1.1-SNAPSHOT/ )

          People

          • Assignee:
            Dejan Bosanac
            Reporter:
            Daniel Kulp
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: