[ 
https://issues.apache.org/jira/browse/WSCOMMONS-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909643#action_12909643
 ] 

Robert Klaus commented on WSCOMMONS-561:
----------------------------------------

You are right. Our code did not take care about the event type at that point. 
Sorry for the annoyance.

> 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
>         Attachments: EmptyTags.zip
>
>
> 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