XFire
  1. XFire
  2. XFIRE-132

StaxUtils fails to read xml document from XMLStreamReader in some cases

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M5
    • Fix Version/s: 1.0-M6
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      3

      Description

      In attachment there is a patch which (i hope ) fix this problem and xml file (SOAP request ) which caused the problem.

        Activity

        Hide
        Tomasz Sztelak added a comment -

        Fixed bug with reading from stream after its end and some code clean up. Processing start element code moved to single method to avoid code duplication.

        Show
        Tomasz Sztelak added a comment - Fixed bug with reading from stream after its end and some code clean up. Processing start element code moved to single method to avoid code duplication.
        Hide
        Tomasz Sztelak added a comment -

        StaxUtils_read.zip
        Bug fixed :

        • ignoring element prefix
        • reading after end of stream
        • skiping tag if previous tag has <tag_name /> format

        Changes :

        • refactoring read() method
        • removing code duplication
        • changing the way of namespace attriubes creation ( adding default uri and some more changes )

        Summary:
        Now xml document read by StaxUtils:read and then store with for example DomUtils shuld be the identical with original..

        Show
        Tomasz Sztelak added a comment - StaxUtils_read.zip Bug fixed : ignoring element prefix reading after end of stream skiping tag if previous tag has <tag_name /> format Changes : refactoring read() method removing code duplication changing the way of namespace attriubes creation ( adding default uri and some more changes ) Summary: Now xml document read by StaxUtils:read and then store with for example DomUtils shuld be the identical with original..
        Hide
        Dan Diephouse added a comment -

        Fixed. Thanks!!!

        Show
        Dan Diephouse added a comment - Fixed. Thanks!!!

          People

          • Assignee:
            Dan Diephouse
            Reporter:
            Tomasz Sztelak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: