IllegalStateException SwitchingWrapper.getTextFromNode on empty Tag
-------------------------------------------------------------------

                 Key: WSCOMMONS-561
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-561
             Project: WS-Commons
          Issue Type: Bug
          Components: AXIOM
    Affects Versions: Axiom 1.2.9
            Reporter: Robert Klaus


I'm using Spring Web Services in combination with the streaming api and 
axiom-api and axiom-impl. I have some JUnit Testcases that parse some sample 
webservice requests. Using Axiom 1.2.8 these tests pass. 
After upgrading to 1.2.9 a tests fails with an IllegalStateException in 
SwitchingWrapper#getTextFromNode. The xml soap body contains several empty tags.

When debugging I saw that currentEvent had the value 2, which is not covered by 
the switch and thus the IllegalStateException. My guess is that it is the 
constant END_ELEMENT.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to